fix: wrong permissions on token/create for tenant admin
All checks were successful
development / Check commit compliance (push) Successful in 5s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s

This commit is contained in:
Bertrand Lanson 2024-05-25 16:59:55 +02:00
parent 604a02683c
commit 9a30e25a80
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw

View File

@ -7,8 +7,8 @@ path "sys/mounts/{{identity.entity.metadata.prefix}}/*" {
}
path "auth/token/create" {
capabilities = ["create", "update", "delete"]
capabilities = ["create", "update", "sudo"]
allowed_parameters = {
policies = ["${tenant_name}-admin"]
policies = [["${tenant_name}-admin"]]
}
}