dev-master
9999999-dev https://www.github.com/Easy-Cloud/EasyACLZF2 module for managing rights and users.
New-BSD-License
The Requires
acl zf2 doctrine module zend framework 2
ZF2 module for managing rights and users.
A advanced but simple ACL module for Zend framework 2 and Doctrine 2!, (*1)
You can set rights per group or user. Everything is loaded from Doctrine., (*2)
Navigation support added., (*3)
Add "easycloud/easyacl": "dev-master" to composer.json and run update., (*4)
Then import this in MySQL:, (*5)
INSERT INTO user
(id
, name
, surname
, email
, password
)VALUES (NULL , 'admin', 'admin', 'admin@admin.com', 'password');
INSERT INTO roles
(id
, user_id
, group_id
, name
, allowed_all
)VALUES (NULL , '1', NULL , 'Master', 'a:1:{i:0;s:6:"master";}');, (*6)
You can get the password by logging in without an account in the database(it will echo itself!)., (*7)
To use the Navigation rigths, add the resource to the navigigation item! Example: 'navigation' => array( 'default' => array( 'acl/user' => array( 'label' => 'Users', 'route' => 'acl/users', 'resource' => 'EasyACL\User\index', ), 'acl/group' => array( 'label' => 'Groups', 'route' => 'acl/groups', 'resource' => 'EasyACL\Group\index', ), 'acl/right' => array( 'label' => 'Roles', 'route' => 'acl/roles', 'resource' => 'EasyACL\Roles\index', ), 'acl/permission' => array( 'label' => 'Permission', 'route' => 'acl/permission', 'resource' => 'EasyACL\Permission\index', ), 'acl/logout' => array( 'label' => 'Log out', 'route' => 'acl/logout', 'resource' => 'EasyACL\User\logout', ), ), ),, (*8)
ZF2 module for managing rights and users.
New-BSD-License
acl zf2 doctrine module zend framework 2