Hi - is it possible to add multiple roles in a res...
# community
a
Hi - is it possible to add multiple roles in a resource policy example - apiVersion: api.cerbos.dev/v1 resourcePolicy: version: "default" resource: "CreateOrg" rules: - actions: - * effect: EFFECT_ALLOW roles: - admin_mgmt - user_mgmt - hr_mgmt
a
Hey! 🙂 writing a policy by using either multiple
roles
or
derivedRoles
both should work just fine. You can check one of our playground demos, eg. Expenses System to see it in action
a
@Aldin Kiselica Thanks for the quick reply
a
Glad to help