Skip to content

Commit 3b9441c

Browse files
committed
tweaked text
1 parent 682e86f commit 3b9441c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

book/security.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -895,18 +895,18 @@ given prefix, ``/esi``, from outside access:
895895
Here is how it works when the path is ``/esi/something`` coming from the
896896
``10.0.0.1`` IP:
897897

898-
* The first access control rule does not match and is ignored as the ``path``
899-
matches but the ``ip`` does not;
898+
* The first access control rule is ignored as the ``path`` matches but the
899+
``ip`` does not;
900900

901-
* The second access control rule matches (the only restriction being the
901+
* The second access control rule is enabled (the only restriction being the
902902
``path`` and it matches): as the user cannot have the ``ROLE_NO_ACCESS``
903903
role as it's not defined, access is denied (the ``ROLE_NO_ACCESS`` role can
904904
be anything that does not match an existing role, it just serves as a trick
905905
to always deny access).
906906

907907
Now, if the same request comes from ``127.0.0.1``:
908908

909-
* Now, the first access control rule does match as both the ``path`` and the
909+
* Now, the first access control rule is enabled as both the ``path`` and the
910910
``ip`` match: access is allowed as the user always has the
911911
``IS_AUTHENTICATED_ANONYMOUSLY`` role.
912912

0 commit comments

Comments
 (0)