I have a question/feature request regarding the Da...
# feature-requests
b
I have a question/feature request regarding the Data Ownership: After browsing the source code I realized that there are already various types of data owners (Object OwnershipType, https://github.com/linkedin/datahub/blob/master/metadata-models/src/main/pegasus/com/linkedin/common/OwnershipType.pdl): Developer, DataOwner, Consumer, etc. However, in the UI there is just one section "Owners" in the right sidebar. However, quite often there are two types of owners: "Data Owners" who are responsible for the data and e.g. for approving access requests. But a second group of people is responsible to maintain the documentation and are the contact persons if users have questions about the data. Therefore my question/feature request: How are the various exsisting OwnershipTyps used/shown within the GUI? Is is possible to just introduce another OwnershipType "Data Steward" and surface it in the GUI below the Owners section? Is this a major change in how DataHub models owners or just a (minor?) addition?
b
m
Hey @brave-businessperson-3969 @better-orange-49102 ownership types are absolutely making a comeback to the UI
b
Will there be policies tailored to ownership types?
m
It definitely makes sense
❤️ 1
Unsure if we will ship both together or one after another
cc @little-megabyte-1074 who was going to collate the list of "ownership types" from the community I think
b
Hello all, I was a bit busy the last days but I'd like to resume the discussion: @mammoth-bear-12532: I would ship it one after another to speed up the process. In a first implementation it should be sufficient to just surface the different data owner types: Whenever an asset (dataset, etc.) with more then one owner type is viewed in the GUI, the additional owner types are just shonw in the right side panel directly below the existing "data owner". I'm hoping this is modification small enough to be implemented easily and therefore be available quite soon. The next step then would be to show the various ownership types on the user account page in the "Ownership" tab and the thrid step to connect this to policies. @little-megabyte-1074 Are you compiling the list of ownership types? Currently, I'm only really missing the Data Steward type. Other types are very situational. Maybe one can introduce a few generic types like DataOwnerTypeA, DataOwnerTypeB, etc. and then map them in the GUI to user defined strings for visualisation. But this is a feature I would implement within a localisation/translation framework and not as a separate feature. But having a DataSteward data owner type would be really helpful.
b
How important are policies to be assigned to ownership types?
What are examples where certain owners can do X, but not Y? And why does that distinction matter? The simplest thing is to say that Owners are Owners - They can change most things about an asset. They may not want to change certain things (say documentation), because it's not their role. But I'm not sure if DataHub needs to be a place to enforce that
cc. @brave-businessperson-3969
b
Maybe an example makes it more clear: Assuming you have 4 types of data “owners”: • The actual data owner. This person or group of persons have the permission to change every aspect of the dataset. • A second type are the Data Stewards. They have permission to edit the description, add links, etc. More or less anything except changing the data ownership. • The third type of data owner, the data engineer can only edit the technical aspects of the dataset but no business related things. • And the forth type of “owners” is maybe just a group of people who know the dataset quite well and therefore you want to list them but should not have any edit permission (like the normal user) Is the option to separate the various roles an important feature? Probably not. A simple switch “inherits owner permissions yes/no” (from the “Applies to Owners” field of the current policies) per data owner type would cover most of the use cases.
But as you said: Overall it's not a very important feature to assign different sets of permissions to different groups of owners.
Just having various types of "owners" which show up in the GUI would already be a very useful feature.
b
👍