Skip to content

Commit 4afbfd1

Browse files
committed
Merge branch '4.4' into 5.3
* 4.4: [Security] Minor fix
2 parents 651ac7c + 3189373 commit 4afbfd1

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
@@ -330,7 +330,7 @@ key:
330330
access_control:
331331
-
332332
path: ^/_internal/secure
333-
# the 'roles' and 'allow-if' options work like an OR expression, so
333+
# the 'roles' and 'allow_if' options work like an OR expression, so
334334
# access is granted if the expression is TRUE or the user has ROLE_ADMIN
335335
roles: 'ROLE_ADMIN'
336336
allow_if: "'127.0.0.1' == request.getClientIp() or request.headers.has('X-Secure-Access')"

0 commit comments

Comments
 (0)