We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1263cc commit 79804b6Copy full SHA for 79804b6
1 file changed
website/templatetags/permission_tags.py
@@ -6,7 +6,7 @@
6
7
8
def can_edit(user, obj):
9
- if user.id == obj.uid or is_administrator(user):
+ if user.id == obj.uid or is_administrator(user) or is_forumsadmin(user):
10
return True
11
return False
12
0 commit comments