Skip to content

Commit

Permalink
Merge pull request #2553 from atlanhq/domainpoliices
Browse files Browse the repository at this point in the history
Update policy_cache_transformer_persona.json
  • Loading branch information
mehtaanshul authored Dec 1, 2023
2 parents 558f06f + f06ef54 commit c0d0cb6
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions addons/static/templates/policy_cache_transformer_persona.json
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
"policyResourceCategory": "ENTITY",
"policyType": "ACCESS",
"resources": [
"entity:{entity}/domain/*",
"entity:{entity}/*domain/*",
"entity-type:DataDomain",
"entity-classification:*"
],
Expand All @@ -461,19 +461,38 @@
"policyResourceCategory": "ENTITY",
"policyType": "ACCESS",
"resources": [
"entity:{entity}/domain/*",
"entity:{entity}/*domain/*",
"entity-type:DataDomain",
"entity-classification:*"
],
"actions": ["entity-create"]
},
{
"policyResourceCategory": "RELATIONSHIP",
"policyType": "ACCESS",
"description": "Link/unlink this DataProduct to any parent Domain",
"resources": [
"relationship-type:*",

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

"end-two-entity:{entity}/*",
"end-one-entity:{entity}",
"end-two-entity-type:DataDomain",
"end-two-entity-classification:*"
],
"actions": ["add-relationship", "update-relationship", "remove-relationship"]
}
],
"persona-domain-sub-domain-update": [
{
"policyResourceCategory": "ENTITY",
"policyType": "ACCESS",
"resources": [
"entity:{entity}/domain/*",
"entity:{entity}/*domain/*",
"entity-type:DataDomain",
"entity-classification:*"
],
Expand All @@ -485,7 +504,7 @@
"policyResourceCategory": "ENTITY",
"policyType": "ACCESS",
"resources": [
"entity:{entity}/domain/*",
"entity:{entity}/*domain/*",
"entity-type:DataDomain",
"entity-classification:*"
],
Expand All @@ -498,7 +517,7 @@
"policyResourceCategory": "ENTITY",
"policyType": "ACCESS",
"resources": [
"entity:{entity}/*/product/*",
"entity:{entity}/*product/*",
"entity-type:DataProduct",
"entity-classification:*"
],
Expand All @@ -510,8 +529,7 @@
"policyResourceCategory": "ENTITY",
"policyType": "ACCESS",
"resources": [
"entity:{entity}/*/product/*",
"entity:{entity}/product/*",
"entity:{entity}/*product/*",
"entity-type:DataProduct",
"entity-classification:*"
],
Expand Down Expand Up @@ -541,7 +559,7 @@
"policyResourceCategory": "ENTITY",
"policyType": "ACCESS",
"resources": [
"entity:{entity}/*/product/*",
"entity:{entity}/*product/*",
"entity-type:DataProduct",
"entity-classification:*"
],
Expand Down Expand Up @@ -572,7 +590,7 @@
"policyResourceCategory": "ENTITY",
"policyType": "ACCESS",
"resources": [
"entity:{entity}/*/product/*",
"entity:{entity}/*product/*",
"entity-type:DataProduct",
"entity-classification:*"
],
Expand Down

0 comments on commit c0d0cb6

Please sign in to comment.