Skip to content

Commit 9c55d5b

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Security] Minor fix
2 parents 7efda80 + b2b90ab commit 9c55d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/access_control.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ key:
326326
access_control:
327327
-
328328
path: ^/_internal/secure
329-
# the 'roles' and 'allow-if' options work like an OR expression, so
329+
# the 'roles' and 'allow_if' options work like an OR expression, so
330330
# access is granted if the expression is TRUE or the user has ROLE_ADMIN
331331
roles: 'ROLE_ADMIN'
332332
allow_if: "'127.0.0.1' == request.getClientIp() or request.headers.has('X-Secure-Access')"

0 commit comments

Comments
 (0)