david
09/20/2022, 8:00 AMCharith (Cerbos)
09/20/2022, 8:07 AMversion
field in the policies to achieve the same thing.david
09/20/2022, 8:17 AMserviceA.v1
?serviceA:resourceB
?Charith (Cerbos)
09/20/2022, 8:24 AMversion
can be just serviceA
and you can just call the resource resourceB
. So, in effect you are asking Cerbos what a user can do with the serviceA
version of resource resourceB
.
If you're using the sidecar model, you can even configure the default policy version used by Cerbos for that particular service. (https://docs.cerbos.dev/cerbos/latest/configuration/engine.html)david
09/20/2022, 8:39 AM