Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bfd670f

Browse filesBrowse files
committed
Merge branch '4.2'
* 4.2: Update access_control.rst role added missing php before bin/console remove blank lines after file path
2 parents 8ba4d9d + 59a62cc commit bfd670f
Copy full SHA for bfd670f

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎security/access_control.rst

Copy file name to clipboardExpand all lines: security/access_control.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Take the following ``access_control`` entries as an example:
4141
# ...
4242
access_control:
4343
- { path: ^/admin, roles: ROLE_USER_IP, ip: 127.0.0.1 }
44-
- { path: ^/admin, roles: ROLE_USER_IP, ip: 127.0.0.1, port: 8080 }
44+
- { path: ^/admin, roles: ROLE_USER_PORT, ip: 127.0.0.1, port: 8080 }
4545
- { path: ^/admin, roles: ROLE_USER_HOST, host: symfony\.com$ }
4646
- { path: ^/admin, roles: ROLE_USER_METHOD, methods: [POST, PUT] }
4747
- { path: ^/admin, roles: ROLE_USER }
@@ -59,7 +59,7 @@ Take the following ``access_control`` entries as an example:
5959
<config>
6060
<!-- ... -->
6161
<rule path="^/admin" role="ROLE_USER_IP" ip="127.0.0.1" />
62-
<rule path="^/admin" role="ROLE_USER_IP" ip="127.0.0.1" port="8080" />
62+
<rule path="^/admin" role="ROLE_USER_PORT" ip="127.0.0.1" port="8080" />
6363
<rule path="^/admin" role="ROLE_USER_HOST" host="symfony\.com$" />
6464
<rule path="^/admin" role="ROLE_USER_METHOD" methods="POST, PUT" />
6565
<rule path="^/admin" role="ROLE_USER" />
@@ -79,7 +79,7 @@ Take the following ``access_control`` entries as an example:
7979
],
8080
[
8181
'path' => '^/admin',
82-
'role' => 'ROLE_USER_IP',
82+
'role' => 'ROLE_USER_PORT',
8383
'ip' => '127.0.0.1',
8484
'port' => '8080',
8585
),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.