Hey Guys, Is it possible for keto to check one of ...
# talk-keto
b
Hey Guys, Is it possible for keto to check one of two or more permissions? would be really helpful Im running into this issue when using
oathkeeper
that authorizes the routes based on matching the url. But this forces me to make multiple rules for the same permission
s
so you basically want to say "return true if any of these are true"? that is currently not easily possible ideally you would use subject set rewrites for that the workaround is to have relation tuples that abstract away the underlying actual permission
b
Thanks for the response, Is that the only way, is there something in production?
s
subject set rewrites are a very important feature, but unfortunately we cannot give out timelines for open source features please follow this issue https://github.com/ory/keto/issues/263