Policy references
As shown in the diagram, I'm in a scenario where a container resource has a policy that permits access by either being the creator or a collaborator.
Is there a way to not have to repeat this logic in all the child resources, such that I could be properly authorized on
I think it's possible to use
I guess this isn't the worst solution in the world…
But I'd much rather have something like
So a change to the container rules wouldn't require a policy change in all child resources of the container.
Is there a way to not have to repeat this logic in all the child resources, such that I could be properly authorized on
Item's read action?I think it's possible to use
accessing_from to allow reads of items when loading through containers, but that doesn't solve for direct access.I guess this isn't the worst solution in the world…
But I'd much rather have something like
So a change to the container rules wouldn't require a policy change in all child resources of the container.

