Skip to content

ishapkin/AclHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

AclHelper

Acl helper for CakePHP 2.x access control list component

Usage

For one url in your View.ctp check access to url

$this->Acl->check('/admin');

For many urls in your View.ctp check access to urls

$this->Acl->check(array('/admin', '/admin/private-action'));

Print link for Html helper

$this->Acl->link('Reset cache', '/admin/cache');

Check menu parent element access

$this->Acl->checkList(array('/admin/cache', '/admin'));

Links

About

Acl helper for CakePHP 2.x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages