Created
November 10, 2014 08:59
-
-
Save vlado/4df50129c27350e30114 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
permissions: | |
some_role: | |
- physicians # Can access all actions in physicians controller | |
- admin/inquiries#index # Can access index action in inquiries controller | |
some_other_role: | |
- physicians#show | |
- admin/inquiries | |
- admin/users | |
# Maybe to have super admin role defined like this? | |
superadmin_role: | |
- admin # Can acess everything under admin namespace | |
# We could have "not" (except) option maybe? | |
some_other_role_again: | |
- admin/physicians # Can access all actions in physicianas controller | |
- !admin/physicians#create # except create action | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment