Skip to content

prasadsurase/dynacan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a crude demo app for dynamic roles and permissions. It uses ruby 1.9.2 and rails 3.2.8. For sake of simplicity and to show the core functionality, i have created only 2 users, each with different role. User '[email protected]' has role "Super Admin" can only he can assign the permissions to other roles ('Staff' in this case). User '[email protected]' has role "Staff". U can assign using both the above email ids and check the functionality. The password is 'prasad' for both the logins.

For detail explanation read http://blog.joshsoftware.com/2012/10/23/dynamic-roles-and-permissions-using-cancan/

About

Dynamic roles and permissions using cancan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published