It seem’s like the frontend/`OwnerViewDao` only su...
# getting-started
h
It seem’s like the frontend/`OwnerViewDao` only supports CorpUsers as owners, and not groups, even though the
Owner
-model states that owners can be groups. Is this a bug or by design?
g
I'm not very familiar with this class but I agree, it does seem like a bug. I would expect to see another line below
corpGroups = _corpGroups.batchGet(getGroupUrns(ownership))
I bet this class just wasn't extended to also support groups. I'd encourage you to put the fix up if you'd like that functionality
h
Sure. The short term solution is of course to fix the comment in
Owner
so that users don’t end up breaking their UI.
I created this issue so that we don’t forget about it: https://github.com/linkedin/datahub/issues/2138
g
perfect- here's a change to update the comment in pdl: