Changes between Version 2 and Version 3 of access_control


Ignore:
Timestamp:
2012-02-18T00:07:12Z (12 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • access_control

    v2 v3  
    3434=== Permission ===
    3535
    36 The permission can give a user access to the resources. There are two types of permissions.
     36The permission can give a user access to the resources. Although CakePHP default ACL can easily control the access to a specific controller/action. It is not enough for iPeer. Consider the following case: the admin and instructor roles both should have access to /user/add controller/action. Because admin should be able to add student and instructor and instructors should be able to add students to their course as well. However, instructor shouldn't have the ability to add admin. Therefore we consider two types of permissions iPeer.
    3737
    3838==== !Controller/Action Permission ====
     39This type of permission controls if a role has access to a specific controller/action pair, E.g., Admin has access to /user/add or Student is denied from /usr/delete.
    3940
    4041==== Functional Permission ====
     42This type of permission controls if a role has access to a specific iPeer function. E.g. Admin can add instructors or instructor is not allow to add admin.