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

demo app: https://github.com/enniel/adonis-acl-blog-demo

Results 22 adonis-acl issues
Sort by recently updated
recently updated
newest added

Hello, I'm not sure if I'm doing something wrong or this is by design, but when the application initially loads the system is making over 70+ queries on permissions/permission_role/role tables....

The missing `users()` relationship has been added to allow queries such as this: ```js const Role = use('Role') const role = await Role.findByOrFail('slug', 'admin') const user = await role.users().first() console.log('user',...

is there a way of checking the user roles inside the controller ? I know that I can get the roles from a user with user.getRoles but methods like the...

Is it possible to use Adonis Lucid Slugify in Adonis Acl? If so, how?

Hello everyone, My database uses a unique naming, would you like to know if it is possible to change the table names from roles to role and permissions to permission?

Please i have looked at the package, but still dont know where to place the code for creation of roles and creation of new permissions, please i need guidance thanks.

Just fix some typos where there was .is instead of .id

Rather then checking the db each time for roles/permissions, can we store them in a cache system?

This is my current workaround the syntax might not be as pretty but is does work let me know if this is a viable option

basically topic says it all. what have i done so far is that ```js let user = await auth.getUser(); console.log(user.getRoles()) // user.getRoles is not a function.... ``` but when i...