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 651ac7c + 3189373 commit 4afbfd1Copy full SHA for 4afbfd1
security/access_control.rst
@@ -330,7 +330,7 @@ key:
330
access_control:
331
-
332
path: ^/_internal/secure
333
- # the 'roles' and 'allow-if' options work like an OR expression, so
+ # the 'roles' and 'allow_if' options work like an OR expression, so
334
# access is granted if the expression is TRUE or the user has ROLE_ADMIN
335
roles: 'ROLE_ADMIN'
336
allow_if: "'127.0.0.1' == request.getClientIp() or request.headers.has('X-Secure-Access')"
0 commit comments