https://www.ory.sh/ logo
#talk-keto
Title
# talk-keto
b

big-library-77731

12/06/2021, 9:26 AM
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

steep-lamp-91158

12/06/2021, 10:06 AM
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

big-library-77731

12/07/2021, 12:00 PM
Thanks for the response, Is that the only way, is there something in production?
s

steep-lamp-91158

12/07/2021, 12:16 PM
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