-
The * means ALL. How do I check if a user has any of a set of permission on a resource? |
Beta Was this translation helpful? Give feedback.
Answered by
drbyte
Aug 15, 2023
Replies: 2 comments 3 replies
-
What's your use-case? You could call |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
anchan42
-
Just in case someone comes across this. ['canAny:user.*'] does not work. |
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
What's your use-case?
What's the reason for the "set of permissions"? How many are in the "set" that you're referring to?
You could call
canAny
and pass the set as an array, without using a wildcard character.