Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Adrian Holovaty authored November 15, 2005

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  django/parts/auth/anonymoususers.py
3  django/parts/auth/anonymoususers.py
@@ -34,6 +34,9 @@ def set_permissions(self, permission_id_list):
34 34
     def has_perm(self, perm):
35 35
         return False
36 36
 
  37
+    def has_module_perms(self, module):
  38
+        return False
  39
+
37 40
     def get_and_delete_messages(self):
38 41
         return []
39 42
 

0 notes on commit 2c61aff

Please sign in to comment.
Something went wrong with that request. Please try again.