Skip to content

Commit f08b149

Browse files
optimized policies and reduced priority
1 parent f3118a5 commit f08b149

File tree

2 files changed

+6
-42
lines changed

2 files changed

+6
-42
lines changed

addons/policies/bootstrap_entity_policies.json

+4-40
Original file line numberDiff line numberDiff line change
@@ -2893,6 +2893,7 @@
28932893
"policyResources":
28942894
[
28952895
"entity-type:DataDomain",
2896+
"entity-type:DataProduct",
28962897
"entity-classification:*",
28972898
"entity:*"
28982899
],
@@ -3706,13 +3707,13 @@
37063707
"typeName": "AuthPolicy",
37073708
"attributes":
37083709
{
3709-
"name": "DATA_DOMAIN_AND_PRODUCT_BUSINESS_UPDATE_METADATA",
3710-
"qualifiedName": "DATA_DOMAIN_AND_PRODUCT_BUSINESS_UPDATE_METADATA",
3710+
"name": "ENTITY_BUSINESS_UPDATE_METADATA_BOOT",
3711+
"qualifiedName": "ENTITY_BUSINESS_UPDATE_METADATA_BOOT",
37113712
"policyCategory": "bootstrap",
37123713
"policySubCategory": "default",
37133714
"policyServiceName": "atlas",
37143715
"policyType": "allow",
3715-
"policyPriority": 1,
3716+
"policyPriority": 0,
37163717
"policyUsers":
37173718
[],
37183719
"policyGroups":
@@ -3736,43 +3737,6 @@
37363737
"entity-update-business-metadata"
37373738
]
37383739
}
3739-
},
3740-
{
3741-
"typeName": "AuthPolicy",
3742-
"attributes":
3743-
{
3744-
"name": "CRUD_DATA_PRODUCT_ENTITY",
3745-
"qualifiedName": "CRUD_DATA_PRODUCT_ENTITY",
3746-
"description": "Allows user to perform CRUD operation on data products asset",
3747-
"policyCategory": "bootstrap",
3748-
"policySubCategory": "default",
3749-
"policyServiceName": "atlas",
3750-
"policyType": "allow",
3751-
"policyPriority": 1,
3752-
"policyUsers":
3753-
[],
3754-
"policyGroups":
3755-
[],
3756-
"policyRoles":
3757-
[
3758-
"$admin",
3759-
"$api-token-default-access"
3760-
],
3761-
"policyResourceCategory": "ENTITY",
3762-
"policyResources":
3763-
[
3764-
"entity-type:DataProduct",
3765-
"entity-classification:*",
3766-
"entity:*"
3767-
],
3768-
"policyActions":
3769-
[
3770-
"entity-read",
3771-
"entity-create",
3772-
"entity-update",
3773-
"entity-delete"
3774-
]
3775-
}
37763740
}
37773741
]
37783742
}

addons/policies/bootstrap_relationship_policies.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@
963963
"policySubCategory": "default",
964964
"policyServiceName": "atlas",
965965
"policyType": "allow",
966-
"policyPriority": 1,
966+
"policyPriority": 0,
967967
"policyUsers":
968968
[],
969969
"policyGroups":
@@ -1003,7 +1003,7 @@
10031003
"policySubCategory": "default",
10041004
"policyServiceName": "atlas",
10051005
"policyType": "allow",
1006-
"policyPriority": 1,
1006+
"policyPriority": 0,
10071007
"policyUsers":
10081008
[],
10091009
"policyGroups":

0 commit comments

Comments
 (0)