We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24798fd commit b774cb0Copy full SHA for b774cb0
security/access_control.rst
@@ -301,7 +301,7 @@ key:
301
access_control:
302
-
303
path: ^/_internal/secure
304
- # the 'roles' and 'allow-if' options work like an OR expression, so
+ # the 'roles' and 'allow_if' options work like an OR expression, so
305
# access is granted if the expression is TRUE or the user has ROLE_ADMIN
306
roles: 'ROLE_ADMIN'
307
allow_if: "'127.0.0.1' == request.getClientIp() or request.headers.has('X-Secure-Access')"
0 commit comments