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 a123e09 commit 2c19997Copy full SHA for 2c19997
security/access_control.rst
@@ -320,7 +320,7 @@ key:
320
// the 'role' and 'allow-if' options work like an OR expression, so
321
// access is granted if the expression is TRUE or the user has ROLE_ADMIN
322
'roles' => 'ROLE_ADMIN',
323
- 'allow_if' => '"127.0.0.1" == request.getClientIp() or request.headers.has('X-Secure-Access')',
+ 'allow_if' => '"127.0.0.1" == request.getClientIp() or request.headers.has("X-Secure-Access")',
324
],
325
326
0 commit comments