diff options
| author | Michael Merickel <michael@merickel.org> | 2019-12-31 16:41:20 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2019-12-31 16:41:20 -0600 |
| commit | 4d7c139e21a7e4529c68560b2ea3d35ff7bdceb0 (patch) | |
| tree | 6963104e3704249df67ac1a6781baeca5ee37074 /docs/quick_tutorial | |
| parent | 4255eecf1544731a7200ab0a24671195416601e2 (diff) | |
| download | pyramid-4d7c139e21a7e4529c68560b2ea3d35ff7bdceb0.tar.gz pyramid-4d7c139e21a7e4529c68560b2ea3d35ff7bdceb0.tar.bz2 pyramid-4d7c139e21a7e4529c68560b2ea3d35ff7bdceb0.zip | |
apply grammar suggestion
Diffstat (limited to 'docs/quick_tutorial')
| -rw-r--r-- | docs/quick_tutorial/authorization.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/quick_tutorial/authorization.rst b/docs/quick_tutorial/authorization.rst index d32a1061c..b1ef86a17 100644 --- a/docs/quick_tutorial/authorization.rst +++ b/docs/quick_tutorial/authorization.rst @@ -92,7 +92,7 @@ This simple tutorial step can be boiled down to the following: - This ACL says that the ``edit`` permission is available on ``Root`` to the ``group:editors`` *principal*. -- The ``SecurityPolicy.effective_principals`` method answers whether a particular user (``editor``) has a particular group (``group:editors``). +- The ``SecurityPolicy.effective_principals`` method answers whether a particular user (``editor``) is a member of a particular group (``group:editors``). - The ``SecurityPolicy.permits`` method is invoked when Pyramid wants to know whether the user is allowed to do something. To do this, it uses the :class:`pyramid.authorization.ACLHelper` to inspect the ACL on the ``context`` and determine if the request is allowed or denied the specific permission. |
