Policies that reference other policies
Often I find myself wanting to say, "Allow this if that is allowed on X".
In the context of owned resources, it may be sufficient to take action on the subresources via the parent. Many times though, the actions that need to be taken are complex enough that it makes more sense to provide actions directly on the related resource, and often enough there is not an implied ownership of the resource at all.
Is there a way to write a policy that somehow depends on another policy for a seperate resource?
2 Replies
You can use the
accessing_from
policy to help with this to some degree
but there is no "delegation" or anything like that currently
https://discord.com/channels/711271361523351632/1090625723670208684Beautiful, this definitely covers a lot of bases.