Skip to content

Commit

Permalink
more custom
Browse files Browse the repository at this point in the history
  • Loading branch information
snf2ye committed Oct 16, 2020
1 parent 7ebe95e commit a32eb52
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -513,29 +513,35 @@ resourceTypes = {
}
spend-profile = {
actionPatternObjects = {
"share_policy::owner" = {
description = "Can grant and revoke a users' admin permission"
"create" = {
description = "Can create policies"
}
"alter_policies" = {
description = "Can alter policies"
"update" = {
description = "Can update policies"
}
"delete" = {
description = "Can delete policies/resources"
description = "Can delete policies"
}
"read_policies" = {
"list" = {
description = "Can read policies"
}
"link" = {
description = "Can link policies"
}
"share_policy::owner" = {
description = "Can grant and revoke a users' owner permission"
}
}
ownerRoleName = "owner"
roles = {
admin = {
roleActions = ["share_policy::owner"]
}
owner = {
roleActions = ["share_policy::owner", "read_policies", "alter_policies", "delete"]
roleActions = ["create", "update", "delete", "list", "link", "share_policy::owner"]
}
user = {
roleActions = [ "read_policies", "share_policy::owner"]
roleActions = ["list", "link", "share_policy::owner"]
}
}
reuseIds = true
Expand Down

0 comments on commit a32eb52

Please sign in to comment.