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 a123e09 + 2c19997 commit 44a389eCopy full SHA for 44a389e
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