how do you store the roles? #773
Unanswered
laptopmutia
asked this question in
Q & A
Replies: 2 comments
-
A lot of the time we do the same! 😊 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am using gem rolify. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
currently I have an array field on my model and using
user.roles.includes?("rolename")
to check if they have access or notBeta Was this translation helpful? Give feedback.
All reactions