Skip to content

Commit

Permalink
DG-1432 Auth Policies for MQ related Items
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit-at committed Jun 13, 2024
1 parent 040988f commit 3ec9024
Showing 1 changed file with 184 additions and 0 deletions.
184 changes: 184 additions & 0 deletions addons/policies/bootstrap_entity_policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -3108,6 +3108,190 @@
"entity-read"
]
}
},

{
"typeName": "AuthPolicy",
"attributes": {
"name": "CUD_BUSINESS_POLICY",
"qualifiedName": "CUD_BUSINESS_POLICY",
"policyCategory": "bootstrap",
"policySubCategory": "default",
"policyServiceName": "atlas",
"policyType": "allow",
"policyPriority": 0,
"policyUsers": [],
"policyGroups": [],
"policyRoles": [
"$admin",
"$api-token-default-access"
],
"policyResourceCategory": "ENTITY",
"policyResources": [
"entity-type:BusinessPolicy",
"entity-type:BusinessPolicyException",
"entity-classification:*",
"entity:*"
],
"policyActions": [
"entity-create",
"entity-update",
"entity-delete"
]
}
},
{
"typeName": "AuthPolicy",
"attributes": {
"name": "READ_BUSINESS_POLICY",
"qualifiedName": "READ_BUSINESS_POLICY",
"policyCategory": "bootstrap",
"policySubCategory": "default",
"policyServiceName": "atlas",
"policyType": "allow",
"policyPriority": 0,
"policyUsers": [],
"policyGroups": [],
"policyRoles": [
"$admin",
"$guest",
"$member",
"$api-token-default-access"
],
"policyResourceCategory": "ENTITY",
"policyResources": [
"entity-type:BusinessPolicy",
"entity-type:BusinessPolicyException",
"entity-classification:*",
"entity:*"
],
"policyActions": [
"entity-read"
]
}
},

{
"typeName": "AuthPolicy",
"attributes": {
"name": "CUD_INCIDENT",
"qualifiedName": "CUD_INCIDENT",
"policyCategory": "bootstrap",
"policySubCategory": "default",
"policyServiceName": "atlas",
"policyType": "allow",
"policyPriority": 0,
"policyUsers": [],
"policyGroups": [],
"policyRoles": [
"$admin",
"$api-token-default-access"
],
"policyResourceCategory": "ENTITY",
"policyResources": [
"entity-type:Incident",
"entity-type:BusinessPolicyIncident",
"entity-classification:*",
"entity:*"
],
"policyActions": [
"entity-create",
"entity-update",
"entity-delete"
]
}
},
{
"typeName": "AuthPolicy",
"attributes": {
"name": "READ_INCIDENT" ,
"qualifiedName": "READ_INCIDENT",
"policyCategory": "bootstrap",
"policySubCategory": "default",
"policyServiceName": "atlas",
"policyType": "allow",
"policyPriority": 0,
"policyUsers": [],
"policyGroups": [],
"policyRoles": [
"$admin",
"$guest",
"$member",
"$api-token-default-access"
],
"policyResourceCategory": "ENTITY",
"policyResources": [
"entity-type:Incident",
"entity-type:BusinessPolicyIncident",
"entity-classification:*",
"entity:*"
],
"policyActions": [
"entity-read"
]
}
},
{
"typeName": "AuthPolicy",
"attributes": {
"name": "CRUD_BUSINESS_POLICY_LOG",
"qualifiedName": "CRUD_BUSINESS_POLICY_LOG",
"policyCategory": "bootstrap",
"policySubCategory": "default",
"policyServiceName": "atlas",
"policyType": "allow",
"policyPriority": 0,
"policyUsers": [],
"policyGroups": [],
"policyRoles": [
"$admin",
"$api-token-default-access"
],
"policyResourceCategory": "ENTITY",
"policyResources": [
"entity-type:BusinessPolicyLog",
"entity-classification:*",
"entity:*"
],
"policyActions": [
"entity-create",
"entity-read",
"entity-update",
"entity-delete"
]
}
},
{
"typeName": "AuthPolicy",
"attributes": {
"name": "CRUD_TASK",
"qualifiedName": "CRUD_TASK",
"policyCategory": "bootstrap",
"policySubCategory": "default",
"policyServiceName": "atlas",
"policyType": "allow",
"policyPriority": 0,
"policyUsers": [],
"policyGroups": [],
"policyRoles": [
"$admin",
"$guest",
"$member",
"$api-token-default-access"
],
"policyResourceCategory": "ENTITY",
"policyResources": [
"entity-type:Task",
"entity-classification:*",
"entity:*"
],
"policyActions": [
"entity-create",
"entity-read",
"entity-update",
"entity-delete"
]
}
}
]
}

0 comments on commit 3ec9024

Please sign in to comment.