Skip to content
Closed
Prev Previous commit
Next Next commit
improved tip box with additional link to /cookbook/security
  • Loading branch information
Michael Klein committed Nov 12, 2013
commit 6817c5390de32e9f1055c35d2476d07e2e4b7c82
6 changes: 4 additions & 2 deletions cookbook/security/voters_data_permission.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ application: :doc:`"/cookbook/security/voters"`.

.. tip::

Have a look at the referenced page if you are not familiar with
:doc:`authorization </components/security/authorization>`.
Have a look at the pages
:doc:`security </cookbook/security>` and
:doc:`authorization </components/security/authorization>`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd move chapter behind the doc ref:

.. tip:: Have a look at the :doc:`authorization </components/security/authorization>` chapter for a better understanding on voters.
if you are not familiar with these topics.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if I like this tip. I think all cookbook articles require knowledge of the topic they are talking about.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then should we maybe stick to the single reference /components/security/authorization only? In my opinion its quiet a useful reference for a deeper understanding.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, let's do that.


How Symfony uses Voters
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How Symfony Uses Voters

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think @weaverryan suggested not to capitalise verbs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is a standard in the documentation now

-----------------------
Expand Down