Skip to content

Commit 2532f0f

Browse files
committed
[#3339] Minor tweaks to security chapter refactoring
1 parent c0159a3 commit 2532f0f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

book/security.rst

+6-3
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,9 @@ see :doc:`/cookbook/security/form_login`.
685685
**5. Routing error pages are not covered by firewalls**
686686

687687
As Routing is done *before* security, Routing error pages are not covered
688-
by any firewall.
688+
by any firewall. This means you can't check for security or even access
689+
the user object on these pages. See :doc:`/cookbook/controller/error_pages`
690+
for more details.
689691

690692
Authorization
691693
-------------
@@ -1609,7 +1611,8 @@ and ``ROLE_USER`` (inherited from ``ROLE_ADMIN``).
16091611
Access Control
16101612
--------------
16111613

1612-
Now that you have Users and Roles, you can go further than URL patterns based authorization.
1614+
Now that you have a User and Roles, you can go further than URL-pattern based
1615+
authorization.
16131616

16141617
.. _book-security-securing-controller:
16151618

@@ -1636,7 +1639,7 @@ authorization from inside a controller::
16361639

16371640
A firewall must be active or an exception will be thrown when the ``isGranted()``
16381641
method is called. It's almost always a good idea to have a main firewall that
1639-
covers all URLs (as it has been shown in this chapter).
1642+
covers all URLs (as is shown in this chapter).
16401643

16411644
.. _book-security-securing-controller-annotations:
16421645

0 commit comments

Comments
 (0)