Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shigebeyond/kohana-acl


https://github.com/shigebeyond/kohana-acl

Last synced: about 4 hours ago
JSON representation

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),检查指定用户是否对指定资源有权限.