https://cerbos.dev logo
#help
Title
# help
n

Nick Belovoskey

08/17/2023, 6:29 PM
I’m noticing when Cerbos receives a scope that doesn’t exist in a request, it denies the request, even if the base policy would allow it. Is there a way to check if a scope exists before making a policy decision?
c

Charith (Cerbos)

08/17/2023, 6:33 PM
If you want to fall back to the base policy if a scope doesn't exist, you can enable lenient scope search: https://docs.cerbos.dev/cerbos/latest/configuration/engine#lenient_scopes
n

Nick Belovoskey

08/17/2023, 6:34 PM
amazing. thank you
I’m assuming no way to do this in playground?
c

Charith (Cerbos)

08/17/2023, 6:37 PM
Not at the moment.
3 Views