Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9ee9720

Browse files
authored
Update doc comment when requiring several roles
1 parenta4cc2bb commit9ee9720

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎security.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ start with ``/admin``, you can:
442442
# require ROLE_ADMIN for /admin*
443443
-{ path: '^/admin', roles: ROLE_ADMIN }
444444
445-
# or requireROLE_ADMIN or IS_AUTHENTICATED_FULLYfor /admin*
445+
# or requiremultiple rolesfor /admin* (when defining multiple roles, the behavior depends on the strategy used in Access Decission Manager)
446446
-{ path: '^/admin', roles: [IS_AUTHENTICATED_FULLY, ROLE_ADMIN] }
447447
448448
# the 'path' value can be any valid regular expression
@@ -469,7 +469,7 @@ start with ``/admin``, you can:
469469
<!-- require ROLE_ADMIN for /admin*-->
470470
<rulepath="^/admin"role="ROLE_ADMIN"/>
471471
472-
<!-- requireROLE_ADMIN or IS_AUTHENTICATED_FULLYfor /admin*-->
472+
<!-- requiremultiple rolesfor /admin* (when defining multiple roles, the behavior depends on the strategy used in Access Decission Manager)-->
473473
<rulepath="^/admin">
474474
<role>ROLE_ADMIN</role>
475475
<role>IS_AUTHENTICATED_FULLY</role>
@@ -497,7 +497,7 @@ start with ``/admin``, you can:
497497
// require ROLE_ADMIN for /admin*
498498
['path' => '^/admin', 'roles' => 'ROLE_ADMIN'],
499499
500-
// requireROLE_ADMIN or IS_AUTHENTICATED_FULLYfor /admin*
500+
// requiremultiple rolesfor /admin* (when defining multiple roles, the behavior depends on the strategy used in Access Decission Manager)
501501
['path' => '^/admin', 'roles' => ['ROLE_ADMIN', 'IS_AUTHENTICATED_FULLY']],
502502
503503
// the 'path' value can be any valid regular expression

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp