Roles
Role Manager dependency for Laravel Enso
This package works exclusively within the Enso ecosystem.
The front end assets that utilize this api are present in the ui package.
For live examples and demos, you may visit laravel-enso.com
click on the photo to view a short demo in compatible browsers
Installation
Comes pre-installed in Enso.
Features
- manages roles for the users of the application
- uses a hierarchical organization of permissions, which allow for a visual and intuitive update of permissions for a certain role
- comes by default with the
Administrator
andSupervisor
roles
Publishes
php artisan vendor:publish --tag=roles-factory
- the factory for theRole
modelphp artisan vendor:publish --tag=roles-seeder
- a seeder that will allow you to manage roles locally and then sync them with the live instance of the appphp artisan vendor:publish --tag=enso-factories
- a common alias for when wanting to update the factories, once a newer version is released, usually used with the--force
flagphp artisan vendor:publish --tag=enso-seeders
- a common alias for when wanting to update the seeders, once a newer version is released, usually used with the--force
flag
Contributions
are welcome. Pull requests are great, but issues are good too.
License
This package is released under the MIT license.