I have access rules like …/users/me …/users/<*...
# talk-oathkeeper
a
I have access rules like …/users/me …/users/<**> …/users/update But this will not work because more then one rule is found for e.g /me and /:id. I am using <**> for uuid ids. So how can i make this work? I would not like to change the endpoint routes.
n
you may be able to switch to a negation, so
<!(me)>
to ensure it doesn't match the
/me
route
a
But what about if i have multiple sich routes? Is there no way do define an uuid as the next route instead of <**>?
n
you can define whatever pattern you want, it doesn't have to be only a wildcard, though may be better to switch to regex for more complex things
a
This I already did and it works.