[django/django] 2e364a: Fixed #15716 - Authentication backends can short-c...

3 views
Skip to first unread message

GitHub

unread,
May 16, 2014, 12:57:57 PM5/16/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 2e364a0aacb49a5160896b1ca5a2619baa3f4d9b
https://github.com/django/django/commit/2e364a0aacb49a5160896b1ca5a2619baa3f4d9b
Author: Jorge C. Leitão <jorgeca...@gmail.com>
Date: 2014-05-16 (Fri, 16 May 2014)

Changed paths:
M django/contrib/auth/models.py
M django/contrib/auth/tests/test_auth_backends.py
M docs/releases/1.8.txt
M docs/topics/auth/customizing.txt

Log Message:
-----------
Fixed #15716 - Authentication backends can short-circuit authorization.

Authorization backends can now raise PermissionDenied in "has_perm"
and "has_module_perms" to short-circuit authorization process.


Reply all
Reply to author
Forward
0 new messages