lukaszb/django-guardian — pull request #78 by Voltir (2012-08-02 05:53:21+00:00)
Title: Small change to get_403_or_None to make decorators behave well for unauthenticated users.

I was having some weird behavior with the permission decorators and I tracked it down to the "AnonymousUser isnt a real user, so we have a real AnonymousUser user" issue in guardian. I changed the get_403_or_None to check for is_authenticated so that using a decorator with an unauthenticated user would still get the permissions of the 'real' AnonymousUser. Is there any reason why this might be a bad idea?