Ash FrameworkAF
Ash Framework3y ago
9 replies
lifeofdan

No actor, policy enforcement.

When creating the policy for read that "relates_to_actor_via" the policy only seems to come into play if there is an actor. If no actor is passed then that policy seems to be ignored.

Eg. the images below. If you pass the incorrect actor, it does not pass data. As expected. If you pass no actor, it gives you everything. As per the second image. Is this an error in my own logic or is this a bug?
image.png
image.png
Was this page helpful?