Skip to content

Instantly share code, notes, and snippets.

@rawroland
Last active November 24, 2016 16:32
Show Gist options
  • Save rawroland/5b3832555235c7e96118c0541c7ae503 to your computer and use it in GitHub Desktop.
Save rawroland/5b3832555235c7e96118c0541c7ae503 to your computer and use it in GitHub Desktop.
access control without ip range
access_control:
- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, ips: [127.0.0.1]}
- { path: ^/login, roles: ROLE_NO_ACCESS}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment