Fix: override default restritive policy for identity admin.
This commit is contained in:
@@ -1,8 +1,13 @@
|
|||||||
# Add identity admin role to the token
|
# Add identity admin role to the token
|
||||||
path "identity/*" {
|
path "identity/*" {
|
||||||
capabilities = ["create", "read", "update", "delete", "list", "sudo"]
|
capabilities = ["create", "read", "update", "delete", "list"]
|
||||||
}
|
}
|
||||||
|
|
||||||
path "identity/entity/*/name" {
|
# Override default policies for identity management
|
||||||
capabilities = ["create", "read", "update", "delete", "list", "sudo"]
|
path "identity/entity/id/{{identity.entity.id}}" {
|
||||||
|
capabilities = ["create", "read", "update", "delete", "list"]
|
||||||
|
}
|
||||||
|
|
||||||
|
path "identity/entity/name/{{identity.entity.name}}" {
|
||||||
|
capabilities = ["create", "read", "update", "delete", "list"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user