Download the PHP package czim/laravel-cms-acl-module without Composer
On this page you can find all versions of the php package czim/laravel-cms-acl-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download czim/laravel-cms-acl-module
More information about czim/laravel-cms-acl-module
Files in czim/laravel-cms-acl-module
Package laravel-cms-acl-module
Short Description Laravel CMS: ACL Module
License
Homepage https://github.com/czim
Informations about the package laravel-cms-acl-module
CMS for Laravel - ACL module
Simple ACL module for the CMS.
To be used to with the Laravel CMS Core.
Installation
Add the module class to your cms-modules.php
configuration file:
Add the service provider to your cms-modules.php
configuration file:
To publish the config:
Configuration
Available permissions are read from the core's module defined ACL presences.
Any custom permission keys may be added to the cms-acl-module.php
configuration file, under permissions
:
Without further configuration, these will be presented under the header of 'Miscellaneous' in the permissions list selectable for roles.
To assign custom permissions, or even permissions provided by modules to a (new) permission group, use the groups
configuration array.
For instance:
This would assign two permissions to a new group.
Any group left without permissions will automatically be hidden, whether it is module defined or not.
For all configuration options, see the configuration file.
API Documentation
The documentation for the ACL module API endpoints: https://czim.github.io/laravel-cms-acl-module
Contributing
Please see CONTRIBUTING for details.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.