diff options
| author | Preston Holmes <preston@ptone.com> | 2012-10-02 04:19:44 -0700 |
|---|---|---|
| committer | Preston Holmes <preston@ptone.com> | 2012-10-02 06:42:05 -0700 |
| commit | 5f8b97f9fb058e5e02f1f99423fc3b0020ecdeb0 (patch) | |
| tree | b99aaca38477fcdcb83d3776c534ebd1d39be88b /docs | |
| parent | 4c75344cc1d3c74ed73b7a8d6aab92a173afe8f5 (diff) | |
Fixed #19057 -- support custom user models in mod_wsgi auth handler
thanks @freakboy3742 for the catch and review
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/deployment/wsgi/apache-auth.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/howto/deployment/wsgi/apache-auth.txt b/docs/howto/deployment/wsgi/apache-auth.txt index d6594d194f..5f700f1cb3 100644 --- a/docs/howto/deployment/wsgi/apache-auth.txt +++ b/docs/howto/deployment/wsgi/apache-auth.txt @@ -14,6 +14,14 @@ version >= 2.2 and mod_wsgi >= 2.0. For example, you could: * Allow certain users to connect to a WebDAV share created with mod_dav_. +.. note:: + If you have installed a :ref:`custom User model <auth-custom-user>` and + want to use this default auth handler, it must support an `is_active` + attribute. If you want to use group based authorization, your custom user + must have a relation named 'groups', referring to a related object that has + a 'name' field. You can also specify your own custom mod_wsgi + auth handler if your custom cannot conform to these requirements. + .. _Subversion: http://subversion.tigris.org/ .. _mod_dav: http://httpd.apache.org/docs/2.2/mod/mod_dav.html |
