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 e2e2036

Browse filesBrowse files
wouterjweaverryan
authored andcommitted
Improved list
1 parent e8e56a1 commit e2e2036
Copy full SHA for e2e2036

File tree

Expand file treeCollapse file tree

1 file changed

+8
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-4
lines changed

‎book/security.rst

Copy file name to clipboardExpand all lines: book/security.rst
+8-4Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,12 +760,15 @@ to find *one* that matches the current request. As soon as it finds a matching
760760
is used to enforce access.
761761

762762
Each ``access_control`` has several options that configure two different
763-
things: (a) :ref:`should the incoming request match this access control entry<security-book-access-control-matching-options>`
764-
and (b) :ref:`once it matches, should some sort of access restriction be enforced<security-book-access-control-enforcement-options>`:
763+
things:
764+
765+
* :ref:`should the incoming request match this access control entry<security-book-access-control-matching-options>`
766+
* :ref:`once it matches, should some sort of access restriction be enforced<security-book-access-control-enforcement-options>`:
765767

766768
.. _security-book-access-control-matching-options:
767769

768-
**(a) Matching Options**
770+
Matching Options
771+
................
769772

770773
Symfony2 creates an instance of :class:`Symfony\\Component\\HttpFoundation\\RequestMatcher`
771774
for each ``access_control`` entry, which determines whether or not a given
@@ -860,7 +863,8 @@ will match any ``ip``, ``host`` or ``method``:
860863

861864
.. _security-book-access-control-enforcement-options:
862865

863-
**(b) Access Enforcement**
866+
Access Enforcement
867+
..................
864868

865869
Once Symfony2 has decided which ``access_control`` entry matches (if any),
866870
it then *enforces* access restrictions based on the ``roles`` and ``requires_channel``

0 commit comments

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