Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shigebeyond/kohana-acl
https://github.com/shigebeyond/kohana-acl
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/shigebeyond/kohana-acl
- Owner: shigebeyond
- Created: 2014-10-10T15:33:35.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-10T15:40:22.000Z (about 10 years ago)
- Last Synced: 2023-02-26T10:27:13.203Z (over 1 year ago)
- Language: PHP
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h1. kohana的acl模块
h2. 概述
kohana3的权限过滤
h2. 类
* *ACL_Resource* 权限资源接口,包含功能资源与数据资源.
* *ACL_User* 权限用户接口,主要的方法是has_permission(array $resources = NULL),判断当前用户是否对指定资源有权限.
* *Controller_ACL* 权限过滤的控制器.
* *ACL* 权限过滤的帮助类,主要的方法是check(ACL_User $user, array $resources),检查指定用户是否对指定资源有权限.