2017 © Pedro Peláez
 

library acl

ZF2 module for managing rights and users.

image

ajanssen/acl

ZF2 module for managing rights and users.

  • Tuesday, December 11, 2012
  • by easy-cloud
  • Repository
  • 2 Watchers
  • 9 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

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)

The Versions

11/12 2012

dev-master

9999999-dev https://www.github.com/Easy-Cloud/EasyACL

ZF2 module for managing rights and users.

  Sources   Download

New-BSD-License

The Requires

 

acl zf2 doctrine module zend framework 2