forked from rapidftr/RapidFTR
-
Notifications
You must be signed in to change notification settings - Fork 1
Web Authorization
ashokkumar edited this page Feb 19, 2013
·
2 revisions
The web authorization is implemented using cancan gem https://github.com/ryanb/cancan. The basic building blocks are permissions. User's authorization depends on whether he has the right permission or not. You can assign a permission to a user through roles. Role is a group of permissions which can be assigned to a user.
- Create a new role by navigating to the users tab and click on the roles link in the sidebar.
- Once the role is create it will be available to in the users create/edit page where you can assign it to a user.
To introduce new permission you need a code change refer the cancan gem to introduce new permission into rapidFTR.