Policy authorizer not applying to read action
I have this policy
When I use Api.read on my read action (list) it is not filtering out records from other users. Is there something else I am supposed to configure for it to filter?
4 Replies
What if you say
authorize?: true
The default behavior (changing in 3.0) is that we only do authorization when an actor was provided as an option, or when the authorize?: true
flag is provided
if you want to change that you can set:
in your api moduleah, thanks!
Keep in mind if you make that change I mentioned, you may need to change other things to use
authorize?: false
I passed in the actor