diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-30 20:42:58 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-30 20:42:58 +0000 |
| commit | 7ec9e7cb2f8aea52cd8645c98d336994357a66f5 (patch) | |
| tree | 3557bef3aeb3302e8f2203fbed0a176f0a966865 /docs/tutorials/bfgwiki/authorization.rst | |
| parent | b0c812081d4a5d8b95229a21cfc9f893e99d83e5 (diff) | |
| download | pyramid-7ec9e7cb2f8aea52cd8645c98d336994357a66f5.tar.gz pyramid-7ec9e7cb2f8aea52cd8645c98d336994357a66f5.tar.bz2 pyramid-7ec9e7cb2f8aea52cd8645c98d336994357a66f5.zip | |
- Remove "context" argument from ``effective_principals`` and
``authenticated_userid`` function APIs in ``repoze.bfg.security``,
effectively a doing reversion to 0.8 and before behavior. Both
functions now again accept only the ``request`` parameter.
Diffstat (limited to 'docs/tutorials/bfgwiki/authorization.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki/authorization.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/bfgwiki/authorization.rst b/docs/tutorials/bfgwiki/authorization.rst index d69bec8a7..437cb9c74 100644 --- a/docs/tutorials/bfgwiki/authorization.rst +++ b/docs/tutorials/bfgwiki/authorization.rst @@ -71,7 +71,7 @@ into its template. We'll add something like this to each view body: .. code-block:: python :linenos: - logged_in = authenticated_user(context, request) + logged_in = authenticated_user(request) We'll then change the return value of ``render_template_to_response`` to pass the `resulting `logged_in`` value to the template, e.g.: |
