You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see in the code that the behavior when the subject is a class instance the condition always returns True. I want a specific type of user to be able to CREATE instances of a resource/model but others to not be able to. For example:
I only want "staff" to be able to CREATE and DELETE instances of the Model. However, there does not seem to be a way to do this. The last rule's condition function is never called. What am I not understanding?
The text was updated successfully, but these errors were encountered:
I see in the code that the behavior when the subject is a class instance the condition always returns
True
. I want a specific type of user to be able toCREATE
instances of a resource/model but others to not be able to. For example:I only want "staff" to be able to
CREATE
andDELETE
instances of theModel
. However, there does not seem to be a way to do this. The last rule's condition function is never called. What am I not understanding?The text was updated successfully, but these errors were encountered: