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.
2 parents 7efda80 + b2b90ab commit 9c55d5bCopy full SHA for 9c55d5b
security/access_control.rst
@@ -326,7 +326,7 @@ key:
326
access_control:
327
-
328
path: ^/_internal/secure
329
- # the 'roles' and 'allow-if' options work like an OR expression, so
+ # the 'roles' and 'allow_if' options work like an OR expression, so
330
# access is granted if the expression is TRUE or the user has ROLE_ADMIN
331
roles: 'ROLE_ADMIN'
332
allow_if: "'127.0.0.1' == request.getClientIp() or request.headers.has('X-Secure-Access')"
0 commit comments