PHPackages                             fmcorz/acl-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. fmcorz/acl-manager

ActiveCakephp-plugin[Authentication &amp; Authorization](/categories/authentication)

fmcorz/acl-manager
==================

AclManager for CakePHP 2.x

1.2.5(12y ago)601.4k32[11 issues](https://github.com/FMCorz/AclManager/issues)[4 PRs](https://github.com/FMCorz/AclManager/pulls)MITPHPPHP &gt;=5.2.8

Since Oct 30Pushed 10y ago16 watchersCompare

[ Source](https://github.com/FMCorz/AclManager)[ Packagist](https://packagist.org/packages/fmcorz/acl-manager)[ Docs](http://github.com/FMCorz/AclManager)[ RSS](/packages/fmcorz-acl-manager/feed)WikiDiscussions stable Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

AclManager for CakePHP 2.x
==========================

[](#aclmanager-for-cakephp-2x)

This plugins allows you to easily manage your permissions in CakePHP 2.x through the Acl module.

Features
--------

[](#features)

- Managing permissions for each node
- Updating Database with missing AROs (Users, Roles, ...)
- Updating Database with missing ACOs (Controller actions)
- Revoking all permissions

Requirements
------------

[](#requirements)

- CakePHP 2.x

How to install
--------------

[](#how-to-install)

### 1. Set up your Acl environment

[](#1-set-up-your-acl-environment)

- Install SQL tables through Cake Console
- parentNode() method on your requester models

See: [CakePHP: Simple ACL Controlled Application](http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html)

### 2. Configure Auth in your AppController

[](#2-configure-auth-in-your-appcontroller)

It should look something like this:

```
var $components = array('Auth', 'Acl', 'Session');

function beforeFilter() {
    //Configure AuthComponent
    $this->Auth->authorize = array(
        'Controller',
        'Actions' => array('actionPath' => 'controllers')
    );
    $this->Auth->authenticate = array(
        'Form' => array(
            'fields' => array(
                'username' => 'login',
                'password' => 'password'
            )
        )
    );
    $this->Auth->loginAction = array(
        'controller' => 'users',
        'action' => 'login',
        'admin' => false,
        'plugin' => false
    );
    $this->Auth->logoutRedirect = array(
        'controller' => 'users',
        'action' => 'login',
        'admin' => false,
        'plugin' => false
    );
    $this->Auth->loginRedirect = array(
        'controller' => 'products',
        'action' => 'index',
        'admin' => false,
        'plugin' => false
    );
}

function isAuthorized($user) {
    // return false;
    return $this->Auth->loggedIn();
}
```

### 3. Download AclManager

[](#3-download-aclmanager)

#### Manually

[](#manually)

Download the stable branch () and paste the content in your `app/Plugin/` directory.

#### With Composer

[](#with-composer)

1. [Install composer](http://getcomposer.org/doc/00-intro.md#locally) in the `app/` folder of your project.
2. Add `"fmcorz/acl-manager": "stable"` to your `require` key in your `composer.json` file. ([More about this](http://getcomposer.org/doc/01-basic-usage.md#the-require-key))
3. Run `php composer.phar install` to install the plugin.

[Composer documentation](http://getcomposer.org/doc/)

### 4. Configure the plugin

[](#4-configure-the-plugin)

See `AclManager/Config/bootstrap.php`

AclManager.aros : write in there your requester models aliases (the order is important)

### 5. Enable the plugin

[](#5-enable-the-plugin)

In `app/Config/bootstrap.php`

```
CakePlugin::load('AclManager', array('bootstrap' => true));

```

### 6. Login with an existing user

[](#6-login-with-an-existing-user)

The plugin conflicts with `$this->Auth->allow()`, do not use it. Just make sure that you are logged in.

### 7. Access the plugin at `/acl_manager/acl`

[](#7-access-the-plugin-at-acl_manageracl)

- Update your AROs and ACOs
- Set up your permissions (do not forget to enable your own public actions!)

### 8. Disable the authorizer Controller

[](#8-disable-the-authorizer-controller)

Or uncomment `return false` in `AppController::isAuthorized()`

### 9. You're done!

[](#9-youre-done)

Enjoy!

Licence
-------

[](#licence)

Licensed under the [MIT License](http://www.opensource.org/licenses/mit-license.php)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4575d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f06801abf949ccd31bd759067647da7be3549b7a76877e84df2d03f16512e7ba?d=identicon)[FMCorz](/maintainers/FMCorz)

---

Top Contributors

[![FMCorz](https://avatars.githubusercontent.com/u/240112?v=4)](https://github.com/FMCorz "FMCorz (41 commits)")[![flashnet69](https://avatars.githubusercontent.com/u/843026?v=4)](https://github.com/flashnet69 "flashnet69 (1 commits)")[![JelmerD](https://avatars.githubusercontent.com/u/2372882?v=4)](https://github.com/JelmerD "JelmerD (1 commits)")[![wvdongen](https://avatars.githubusercontent.com/u/1862615?v=4)](https://github.com/wvdongen "wvdongen (1 commits)")

---

Tags

aclmanagercakephpcakephp-pluginphp

### Embed Badge

![Health badge](/badges/fmcorz-acl-manager/health.svg)

```
[![Health](https://phpackages.com/badges/fmcorz-acl-manager/health.svg)](https://phpackages.com/packages/fmcorz-acl-manager)
```

###  Alternatives

[markstory/acl_extras

Additional tools for managing DB ACL in CakePHP applications.

155311.0k](/packages/markstory-acl-extras)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[stuttter/wp-user-signups

The best way to manage user &amp; site sign-ups in WordPress

46208.9k3](/packages/stuttter-wp-user-signups)[winter/wn-user-plugin

User plugin for Winter CMS

1233.5k13](/packages/winter-wn-user-plugin)[rainlab/userplus-plugin

User plus plugin for October CMS

168.8k2](/packages/rainlab-userplus-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
