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[7 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 3w 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 75% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity30

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

4621d 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

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[rainlab/user-plugin

User plugin for October CMS

11854.7k15](/packages/rainlab-user-plugin)[discourse/wp-discourse

WordPress plugin that allows you to use Discourse as a community engine for your WordPress blog.

5419.6k](/packages/discourse-wp-discourse)[humanmade/authorship

Authorship

68182.3k](/packages/humanmade-authorship)[stuttter/wp-user-signups

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

46218.0k9](/packages/stuttter-wp-user-signups)[pressbooks/pressbooks-book

This theme is named after Canadian media theorist Marshall McLuhan, who coined the phrase “the medium is the message.” It is designed for academic writing and is also suitable for fiction. Headings are set in Cormorant Garamond, and body type is set in Lora.

206.7k](/packages/pressbooks-pressbooks-book)

PHPackages © 2026

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