adonis-acl-blog-demo
adonis-acl-blog-demo copied to clipboard
adding more roles & permissions
please where do i add more roles and permissions, how do i go about it please i need some guidance, thanks
I am having the same problem as Joshua. To the admin of 'adonis-acl-blog-demo', I would like to state that u shldnt post stuff like this if u r not bothered to give trouble shooting support to ur users.
Hi! You have to create rols, and permissions at database
To manage rols at
- routes.js --> https://github.com/enniel/adonis-acl#protect-routes
- views --> https://github.com/enniel/adonis-acl#using-in-views
according to ur links provided above, to create these roles & permissions there will be like a method inside a controller for creating roles & permissions and on the view area there will be a form where inputs are given will be used to create the roles & permissions. am I making sense please let me know thanks