Permalink
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...
1 parent d6aa904 commit 2c61aff52339ad1dc65f70a8c79b5f0b48266c21 @adrianholovaty adrianholovaty committed Nov 15, 2005
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 []

0 comments on commit 2c61aff

Please sign in to comment.