Implementing User Roles
Hello, I am trying to implement roles of USER, MODERATOR, or ADMIN
I find the admin and organization plugins a bit intimidating
but more importantly I am not sure if they are the exact use case for my roles
here is my current code
Is this a good approach? I have the default role as USER
Or should I be using the admin or organization plugins and adjusting them to fit my above requirements?
I find the admin and organization plugins a bit intimidating
but more importantly I am not sure if they are the exact use case for my roles
here is my current code
Is this a good approach? I have the default role as USER
Or should I be using the admin or organization plugins and adjusting them to fit my above requirements?