Skip to content

Commit 79804b6

Browse files
authored
edit access to forumadmin (#52)
1 parent a1263cc commit 79804b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/templatetags/permission_tags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
def can_edit(user, obj):
9-
if user.id == obj.uid or is_administrator(user):
9+
if user.id == obj.uid or is_administrator(user) or is_forumsadmin(user):
1010
return True
1111
return False
1212

0 commit comments

Comments
 (0)