Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RoleSystem a controller allowing only admin access
- - should allow an admin access
- - should prevent access by anyone who is not an admin
- RoleSystem a controller allowing access to actions by role
- - should grant access to content_editor and admin for new
- - should grant acccess to editor for index
- - should only give destroy access to admin
- - should not give access to index to admin
- RoleSystem a controller allowing access under certain conditions
- - should grant access to admin unless access is revoked ahead of time
- - should allow access to content_editors if special access is granted
Add Comment
Please, Sign In to add comment