[2.1.x] Clarified permission-related docs.

Backport of 632d4861dd from master
This commit is contained in:
Tobias Bengfort 2019-02-28 15:27:15 +01:00 committed by Carlton Gibson
parent 0c295a7570
commit 4fd6e09fdc
2 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,7 @@ a set of optional permission related :ref:`authorization methods
The ``get_user`` method takes a ``user_id`` -- which could be a username,
database ID or whatever, but has to be the primary key of your user object --
and returns a user object.
and returns a user object or ``None``.
The ``authenticate`` method takes a ``request`` argument and credentials as
keyword arguments. Most of the time, it'll just look like this::

View File

@ -44,6 +44,7 @@ of these common problems have been implemented in third-party packages:
* Password strength checking
* Throttling of login attempts
* Authentication against third-parties (OAuth, for example)
* Object-level permissions
Installation
============