Conditions do not limit base subject #985
Replies: 1 comment 2 replies
-
This is explained in the guide https://casl.js.org/v6/en/guide/intro#checking-logic |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I have the following rule:
Then I would expect
can("update", "post")
to returnfalse
(because the rule needs the condition). Is this an achievable result at all? I've tried addingcannot("update", "post") before or after the
can` rule, but it doesn't help.Beta Was this translation helpful? Give feedback.
All reactions