承接 easycloud/easyacl 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

easycloud/easyacl

Composer 安装命令:

composer require easycloud/easyacl

包简介

ZF2 module for managing rights and users.

README 文档

README

A advanced but simple ACL module for Zend framework 2 and Doctrine 2!

You can set rights per group or user. Everything is loaded from Doctrine.

Navigation support added.

Add "easycloud/easyacl": "dev-master" to composer.json and run update.

Then import this in MySQL:

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";}');

You can get the password by logging in without an account in the database(it will echo itself!).

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', ), ), ),

统计信息

  • 总下载量: 50
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: New-BSD-License
  • 更新时间: 2012-12-10