Skip to content
This repository has been archived by the owner on Aug 4, 2018. It is now read-only.

Commit

Permalink
Merge the most important commit ever.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fingercomp committed Sep 6, 2016
2 parents 3cd5626 + 61469d8 commit 729023a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hel/utils/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def effective_principals(self, request):
principals += ['~' + x for x in user['groups']]
if 'act_till' not in user and 'act_phrase' not in user:
principals += ['activated']
elif hasattr(request, 'no_permission_check') \
and request.no_permission_check:
elif (hasattr(request, 'no_permission_check') and
request.no_permission_check):
principals += ['~allperms']
return principals

Expand Down

0 comments on commit 729023a

Please sign in to comment.