Django

Code

Show
Ignore:
Timestamp:
07/21/08 22:05:40 (5 months ago)
Author:
adrian
Message:

Fixed #7304 -- Gave AnonymousUser? a has_perms() method, which it was lacking

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/auth/models.py

    r7967 r8044  
    359359        return False 
    360360 
     361    def has_perms(self, perm_list): 
     362        return False 
     363 
    361364    def has_module_perms(self, module): 
    362365        return False