adonisjs-permissions
adonisjs-permissions copied to clipboard
Adonis js roles and permissions system
After running my migration file succsefully and creating the tables acording to the permissions_config.ts When trying to run my seed file and insert to check the functionalists I'm encountering this...
I have a service method for a user list, and I want to filter users that have certain roles or permissions. How can I implement the query?
I need to query users with their roles. This works: ``` const user = await User.first() const roles = await user.roles() ``` But there is no support for something like...