Theisz Eduard
03/17/2026, 1:45 PMAndrew Haines (Cerbos)
: delimiter, so you could have some_command:read and some_command:execute (or read:some_command etc depending on your preference š). You can then author policies using wildcards (which respect the delimiter), so a resource policy rule with *:read could grant read access to any command on that resource.Theisz Eduard
03/18/2026, 9:31 AMTheisz Eduard
03/18/2026, 4:02 PMWorkflow
āāā CreatorId
āāā Task[]
Task
āāā PerformerType
āāā PerformerId
PerformerType(enum)
ROLE, INDIVIDUAL
So lets say we only have read and execute actions:
We can create derived roles for both the owner of the workflow as well as a derived role for the performer of the task.
now: If I am a performer of such a task i also want to have read rights on the Workflow.
(pretty easy to build as Workflow could send a list to cerbos with all the available tasks)
If I am an owner of a workflow, I want to have read rights on the Tasks. (I guess this is where my question comes in š)
If I have 2 different resource policy files I dont have the context from workflow_policy, only if I pass the "security context" of the workflow inside of the task_policy.
i.e.
Workflow
āāā CreatorId
āāā Task[]
Task
āāā PerformerType
āāā PerformerId
āāā RootCreatorId
PerformerType(enum)
ROLE, INDIVIDUAL
Is there something else that I could do (as it seems that we cannot have hierarchical resources at the moment).Andrew Haines (Cerbos)