Skip to content

Commit

Permalink
Merge pull request #2665 from atlanhq/fix/data-mesh-readme-policy
Browse files Browse the repository at this point in the history
policies to add/remove relationship to domain/product
  • Loading branch information
mehtaanshul authored Dec 18, 2023
2 parents 74b9108 + a201c04 commit d72148c
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions addons/static/templates/policy_cache_transformer_persona.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,23 @@
"end-two-entity:{entity}/*"
],
"actions": ["add-relationship", "update-relationship", "remove-relationship"]
},
{
"policyResourceCategory": "RELATIONSHIP",
"policyType": "ACCESS",
"description": "Link/unlink resource to this Domain",
"resources": [
"relationship-type:*",

"end-one-entity-type:DataDomain",
"end-one-entity-classification:*",
"end-one-entity:{entity}",

"end-two-entity-type:Resource",
"end-two-entity-classification:*",
"end-two-entity:*"
],
"actions": ["add-relationship", "update-relationship", "remove-relationship"]
}
],

Expand Down Expand Up @@ -495,6 +512,23 @@
"entity-classification:*"
],
"actions": ["entity-update"]
},
{
"policyResourceCategory": "RELATIONSHIP",
"policyType": "ACCESS",
"description": "Link/unlink resource to this Sub Domain",
"resources": [
"relationship-type:*",

"end-one-entity-type:DataDomain",
"end-one-entity-classification:*",
"end-one-entity:{entity}/*domain/*",

"end-two-entity-type:Resource",
"end-two-entity-classification:*",
"end-two-entity:*"
],
"actions": ["add-relationship", "update-relationship", "remove-relationship"]
}
],
"persona-domain-sub-domain-delete": [
Expand Down Expand Up @@ -599,6 +633,25 @@
"end-two-entity:{entity}/*product/*"
],

"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:DataProduct",
"end-one-entity-classification:*",
"end-one-entity:{entity}/*product/*",

"end-two-entity-type:Asset",
"end-two-entity-classification:*",
"end-two-entity:*"
],

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

0 comments on commit d72148c

Please sign in to comment.