资 源 简 介
Ar-acl
Introduction
Ar-acl is Access Control Library for codeigniter. This library works with two methods.
1. User access control by role, e.g:
* "admin/" is admin page that can be accessed only by admin.
* "salary/" is employer"s salary page that can be edited by hrd dept and accounting dept.
1. User access control by Very Private Page (VPP) check, e.g:
* "profile/edit/john.r" is a page to edit profile information that can be edited by user who logged on with username "john.r".
## Features ##
1. Restrict user based on role group.
1. Restrict user to access, edit or delete other user private page.
## Advantages ##
1. No database needed. Work faster.
1. No need to modify controller. This library is autoloaded.
## Set Up ##
1. Add ar_acl to the autoload libraries to use it.
$autoload["libraries"] = array("ar_acl");
1. Copy folder config and libaries to applic