GitXplorerGitXplorer
m

acl_extras

public
158 stars
49 forks
5 issues

Commits

List of commits on branch master.
Verified
11747587503690011d6e16882ea2af7760c599a7

Merge pull request #50 from WrDX/Extend-AppShell

mmarkstory committed 6 years ago
Verified
8cf2d137c16b279c0b778e5a8876a09b380d6fd2

Added App::uses for AppShell

WWrDX committed 6 years ago
Verified
de2e4fc677424aa5d8b3704e86629ad1ce2574c6

Extend AppShell for more control from within app

WWrDX committed 6 years ago
Unverified
3e7f1ea882c3ebe47499e69cc44e867723d7f362

New AclExtras requires at least CakePHP 2.4

mmarkstory committed 7 years ago
Unverified
8e4ad7654e883602941a77276b68ca9f07c60d1e

Merge pull request #46 from ozee31/patch-2

mmarkstory committed 7 years ago
Unverified
732d5b47c80e02a78d7962908cd8696c7300359b

Use Flash component instead of Session->setFlash

oozee31 committed 7 years ago

README

The README file for this repository.

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.