@@ -637,10 +637,9 @@ The process of authorization has two different sides:
637
637
.. tip ::
638
638
639
639
In addition to roles (e.g. ``ROLE_ADMIN ``), you can protect a resource
640
- using other attributes/strings (e.g. ``EDIT ``) and use voters or Symfony's
641
- ACL system to give these meaning. This might come in handy if you need
642
- to check if user A can "EDIT" some object B (e.g. a Product with id 5).
643
- See :ref: `security-secure-objects `.
640
+ using other attributes/strings (e.g. ``EDIT ``) and use voters to give these
641
+ meaning. This might come in handy if you need to check if user A can "EDIT"
642
+ some object B (e.g. a Product with id 5). See :ref: `security-secure-objects `.
644
643
645
644
Roles
646
645
~~~~~
@@ -970,6 +969,10 @@ For more details on expressions and security, see :ref:`expressions-security`.
970
969
Access Control Lists (ACLs): Securing individual Database Objects
971
970
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
972
971
972
+ .. versionadded :: 3.4
973
+ ACL support was deprecated in Symfony 3.4 and will be removed in 4.0. Install
974
+ the `Symfony ACL bundle `_ if you want to keep using ACL.
975
+
973
976
Imagine you are designing a blog where users can comment on your posts. You
974
977
also want a user to be able to edit their own comments, but not those of
975
978
other users. Also, as the admin user, you yourself want to be able to edit
@@ -1322,3 +1325,4 @@ Other Security Related Topics
1322
1325
1323
1326
.. _`frameworkextrabundle documentation` : https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
1324
1327
.. _`HWIOAuthBundle` : https://github.com/hwi/HWIOAuthBundle
1328
+ .. _`Symfony ACL bundle` : https://github.com/symfony/acl-bundle
0 commit comments