brief-petabyte-56179
04/26/2023, 3:06 PMurn:li:glossaryTerm:6ac81097-494c-4e56-ac95-54543455545 to just users within the test-group, While this does not appear to be possible in the UI, I was able to do the following through a graphql mutation. From this I would expect anyone not in the specified group (any "no role" users) would NOT be able to drill down and edit these entities. Unfortunately they can. I have tried this exact approach with other fields as well (tags, origin, etc) with no success. Any ideas?
Note: when I use Chrome's Developer Tools>inspect policy>Network tab, I can see the glossaryterm filter (from below mutation) in the policy. So it does appear to be somehow attached...just not working to filter data.
mutation updatePolicy
{
updatePolicy(
urn: "urn:li:dataHubPolicy:69efb392-7f49-4bfd-be9d-48845854"
input:{
type: METADATA
name: "My-Policy-Name"
state: ACTIVE
description: "restricts access to specific glossary term for users not in the data-team-testing group"
resources:{
# I also tried allResources: true and adding a second criteria field for ResourceType
allResources: false
filter:{
criteria:[
{
field:"glossaryTerm"
values: ["urn:li:glossaryTerm:6ac81097-494c-4e56-ac95-54543455545"]
condition: EQUALS
}
]
}
}
privileges: ["VIEW_ENTITY_PAGE","EDIT_ENTITY"]
actors:{
groups: "urn:li:corpGroup:test-group"
resourceOwners: false
allUsers: false
allGroups: false
}
}
)
}lively-cat-88289
04/26/2023, 3:06 PMbrief-petabyte-56179
04/26/2023, 3:10 PMbrief-petabyte-56179
04/26/2023, 3:42 PMbetter-orange-49102
04/26/2023, 11:40 PMbrief-petabyte-56179
04/28/2023, 4:53 PMastonishing-answer-96712
05/02/2023, 8:14 PMbetter-orange-49102
05/03/2023, 6:13 AM