diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-07-05 22:39:34 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-07-05 22:39:34 +0000 |
| commit | b43e5f12490de4eb021971bcca67c7edf3a2dbce (patch) | |
| tree | 37d1ca0d03db5ddfad52e5b73bd89a85206e5481 /docs/tutorials/bfgwiki2/authorization.rst | |
| parent | 9299422a9e04ecd07f81bea4fdf6975fb7d68b84 (diff) | |
| download | pyramid-b43e5f12490de4eb021971bcca67c7edf3a2dbce.tar.gz pyramid-b43e5f12490de4eb021971bcca67c7edf3a2dbce.tar.bz2 pyramid-b43e5f12490de4eb021971bcca67c7edf3a2dbce.zip | |
Spelling
Diffstat (limited to 'docs/tutorials/bfgwiki2/authorization.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki2/authorization.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/bfgwiki2/authorization.rst b/docs/tutorials/bfgwiki2/authorization.rst index 2e9bb0e19..7e86bd126 100644 --- a/docs/tutorials/bfgwiki2/authorization.rst +++ b/docs/tutorials/bfgwiki2/authorization.rst @@ -61,7 +61,7 @@ Configuring a ``repoze.bfg`` Authentication Policy -------------------------------------------------- For any :mod:`repoze.bfg` application to perform authorization, we -need to add a ``secrity.py`` module and we'll need to change our +need to add a ``security.py`` module and we'll need to change our :term:`application registry` to add an :term:`authentication policy` and a :term:`authorization policy`. @@ -97,7 +97,7 @@ Adding ``security.py`` Add a ``security.py`` module within your package (in the same directory as "run.py", "views.py", etc) with the following content: The groupfinder defined here is an authorization policy "callback"; it -is a be a callable that accepts a userid ana a request. If the userid +is a be a callable that accepts a userid and a request. If the userid exists in the system, the callback will return a sequence of group identifiers (or an empty sequence if the user isn't a member of any groups). If the userid *does not* exist in the system, the callback |
