Skip to content

Commit

Permalink
Merge pull request #12 from huideaki/features/menu-hook-typo
Browse files Browse the repository at this point in the history
Fix menu-hook permission typo
  • Loading branch information
pvyParts committed Jan 27, 2021
2 parents 3afbfb4 + 6923e59 commit 6b4eede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corpstats/auth_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self):
def render(self, request):
if request.user.has_perm('corpstats.view_corp_corpstats') or request.user.has_perm(
'corpstats.view_alliance_corpstats') or request.user.has_perm(
'corpstats.add_corpstats') or request.user.has_perm('corpstats.view_state_corpstats'):
'corpstats.add_corpstat') or request.user.has_perm('corpstats.view_state_corpstats'):
return MenuItemHook.render(self, request)
return ''

Expand Down

0 comments on commit 6b4eede

Please sign in to comment.