Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #796 -- Gave AnonymousUser a has_module_perms method.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 2c61aff52339ad1dc65f70a8c79b5f0b48266c21 1 parent d6aa904
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django/parts/auth/anonymoususers.py
View
3  django/parts/auth/anonymoususers.py
@@ -34,6 +34,9 @@ def set_permissions(self, permission_id_list):
def has_perm(self, perm):
return False
+ def has_module_perms(self, module):
+ return False
+
def get_and_delete_messages(self):
return []
Please sign in to comment.
Something went wrong with that request. Please try again.