Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markstory/acl_extras
A console plugin for helping you manage your ACL tables.
https://github.com/markstory/acl_extras
Last synced: 10 days ago
JSON representation
A console plugin for helping you manage your ACL tables.
- Host: GitHub
- URL: https://github.com/markstory/acl_extras
- Owner: markstory
- Created: 2009-06-20T04:37:04.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T18:42:07.000Z (over 6 years ago)
- Last Synced: 2024-10-14T10:31:46.631Z (29 days ago)
- Language: PHP
- Homepage:
- Size: 44.9 KB
- Stars: 159
- Watchers: 20
- Forks: 49
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Acl Extras
Acl Extras provides a console app that helps you manage DbAcl records more easily. Its main feature and purpose is to make generating Aco nodes for all your controllers and actions easier. It also includes some helper methods for verifying and recovering corrupted trees.
## Installation
Clone the repo or download a tarball and install it into `app/Plugin/AclExtras` or in any of your pluginPaths.
Then activate the plugin in your app/Config/bootstrap.php file as shown below:
CakePlugin::load('AclExtras');
## Usage
You can find a list of commands by running `Console/cake AclExtras.AclExtras -h` from your command line.
### Setting up the contorller
You'll need to configure AuthComponent to use the Actions authorization method.
In your `beforeFilter` add the following:$this->Auth->authorize = 'actions';
$this->Auth->actionPath = 'controllers/';## Issues
If you find an issue in the code or want to suggest something, please use the tickets at http://github.com/markstory/acl_extras/issues
## License
Acl Extras is licensed under the MIT license.