Why this returns true? #1022
Unanswered
NazarKalytiuk
asked this question in
Q&A
Replies: 1 comment 7 replies
-
There is no way to change this. It’s by design. You ask a question: can I do smth with this type? And casl says yes, you can do smth with the instances of this type. It doesn’t check conditions on type obviously |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://codesandbox.io/p/devbox/casl-playground-forked-ktjfjj
I have a rule with a condition, but I think If I check in general for a subject itself this should return false.
How to make this work?
Beta Was this translation helpful? Give feedback.
All reactions