adonis-acl-blog-demo icon indicating copy to clipboard operation
adonis-acl-blog-demo copied to clipboard

adding more roles & permissions

Open Dropcodee opened this issue 5 years ago • 4 comments

Dropcodee avatar Aug 06 '19 01:08 Dropcodee

please where do i add more roles and permissions, how do i go about it please i need some guidance, thanks

Dropcodee avatar Aug 06 '19 08:08 Dropcodee

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.

javedldg avatar Oct 15 '19 10:10 javedldg

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

TheJltres avatar Mar 04 '20 18:03 TheJltres

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

Dropcodee avatar Mar 09 '20 20:03 Dropcodee