PHPackages                             houseoftech/cakephp-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. houseoftech/cakephp-acl-manager

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

houseoftech/cakephp-acl-manager
===============================

AclManager for CakePHP 2.x

1.3.2(10y ago)11114MITPHPPHP &gt;=5.2.8

Since Mar 19Pushed 10y ago2 watchersCompare

[ Source](https://github.com/houseoftech/cakephp-acl-manager)[ Packagist](https://packagist.org/packages/houseoftech/cakephp-acl-manager)[ Docs](http://github.com/houseoftech/cakephp-acl-manager)[ RSS](/packages/houseoftech-cakephp-acl-manager/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (1)Versions (7)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 `"houseoftech/cakephp-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

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 57.7% 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

Every ~91 days

Total

5

Last Release

3758d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/297458?v=4)[Corie Slate](/maintainers/houseoftech)[@houseoftech](https://github.com/houseoftech)

---

Top Contributors

[![FMCorz](https://avatars.githubusercontent.com/u/240112?v=4)](https://github.com/FMCorz "FMCorz (41 commits)")[![houseoftech](https://avatars.githubusercontent.com/u/297458?v=4)](https://github.com/houseoftech "houseoftech (26 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)")[![Oxicode](https://avatars.githubusercontent.com/u/1320709?v=4)](https://github.com/Oxicode "Oxicode (1 commits)")[![wvdongen](https://avatars.githubusercontent.com/u/1862615?v=4)](https://github.com/wvdongen "wvdongen (1 commits)")

### Embed Badge

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

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3376.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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