Skip to content

Commit

Permalink
Fix linking asset with Product create permission
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilbonte21 committed Dec 1, 2023
1 parent 36e92e2 commit 6bf5572
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions addons/static/templates/policy_cache_transformer_persona.json
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,25 @@
"end-two-entity-type:DataProduct",
"end-two-entity-classification:*"
],
"actions": ["add-relationship", "update-relationship", "remove-relationship"]
},
{
"policyResourceCategory": "RELATIONSHIP",
"policyType": "ACCESS",
"description": "Link/unlink any Asset to this DataProduct",

"resources": [
"relationship-type:*",

"end-one-entity-type:Asset",
"end-one-entity-classification:*",
"end-one-entity:*",

"end-two-entity-type:DataProduct",
"end-two-entity-classification:*",
"end-two-entity:{entity}/*product/*"
],

"actions": ["add-relationship", "update-relationship", "remove-relationship"]
}
],
Expand Down

0 comments on commit 6bf5572

Please sign in to comment.