Created
December 9, 2011 01:51
-
-
Save eminetto/1449742 to your computer and use it in GitHub Desktop.
acl.ini
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
;roles | |
acl.roles.visitante = null | |
acl.roles.redator = visitante | |
acl.roles.admin = redator | |
acl.resources[] = index | |
acl.resources[] = post | |
acl.resources[] = auth | |
;definir as acls no formato acl.permissao.role[] = controller.action | |
acl.allow.visitante[] = index.index | |
acl.allow.visitante[] = post.retrieve | |
acl.allow.visitante[] = auth.index | |
acl.allow.visitante[] = auth.logout | |
acl.allow.redator[] = post.create | |
acl.allow.redator[] = post.update | |
acl.allow.admin[] = post.delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment