Skip to content

Commit bcca6cd

Browse files
committed
Minor reword
1 parent 1e2ce68 commit bcca6cd

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

security.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2265,17 +2265,21 @@ Users with ``ROLE_SUPER_ADMIN``, will automatically have ``ROLE_ADMIN``,
22652265
:doc:`security voter </security/voters>` that looks for the user roles
22662266
in the database.
22672267

2268-
.. versionadded:: 7.4
2268+
.. tip::
22692269

2270-
To help you debug your roles hierarchy, you can generate a visual representation
2271-
of them as SVG or PNG images. First, install the free and open source
2272-
`Mermaid CLI`_, providing the ``mmdc`` command, then executes::
2270+
To help debug your roles hierarchy, you can generate a visual representation
2271+
of it as an SVG or PNG image. First, install the free and open-source
2272+
`Mermaid CLI`_, which provides the ``mmdc`` command, and then run:
22732273

22742274
.. code-block:: terminal
2275-
2275+
22762276
$ php bin/console debug:security:role-hierarchy | mmdc -o roles.svg
22772277
2278-
You can open the file `roles.svg` to see the graph.
2278+
You can then open the ``roles.svg`` file to see the generated graph.
2279+
2280+
.. versionadded:: 7.4
2281+
2282+
The ``debug:security:role-hierarchy`` command was introduced in Symfony 7.4.
22792283

22802284
.. _security-role-authorization:
22812285

0 commit comments

Comments
 (0)