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 17:10:46 +02:00
parent 9a30e25a80
commit a1a7818c15
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw

View File

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