fix: templating not working for arrays
This commit is contained in:
parent
8a5a85f33f
commit
0803966716
@ -9,6 +9,9 @@ path "sys/mounts/${tenant_prefix}/*" {
|
|||||||
path "auth/token/create" {
|
path "auth/token/create" {
|
||||||
capabilities = ["create", "update", "delete"]
|
capabilities = ["create", "update", "delete"]
|
||||||
allowed_parameters = {
|
allowed_parameters = {
|
||||||
"policies" = [${admin_policies}, ${reverse(admin_policies)}]
|
"policies" = [
|
||||||
|
[${for policy in admin_policies}${policy},${endfor}],
|
||||||
|
[${for policy in reverse(admin_policies)}${policy},${endfor}]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user