david
09/20/2022, 8:00 AMCharith (Cerbos)
version field in the policies to achieve the same thing.david
09/20/2022, 8:17 AMserviceA.v1 ?david
09/20/2022, 8:19 AMserviceA:resourceB ?Charith (Cerbos)
version 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)Charith (Cerbos)
david
09/20/2022, 8:39 AM