I want to create a rule in the Istio authorization:
- to:
- operation:
methods: [ "POST" ]
paths: [ "/data/api/v1/departments/*/users/*/position" ]
when:
- key: request.auth.claims[resource_access][roles]
values: [ "edit" ]
so I want to use path variables here (in places with '*'
). What should I put instead of '*'
to make it working?
It doesn't work in the current setup.
I get 'RBAC denied', I have a role 'edit'
and path to that role is okay. It works fine for endpoints without '*'
signs