diff --git a/files/helpers/const.py b/files/helpers/const.py index 86c9b184f..8bdbddc96 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -137,6 +137,7 @@ PERMS = { # Minimum admin_level to perform action. 'USER_VOTERS_VISIBLE': 0, 'POST_COMMENT_MODERATION': 2, 'POST_COMMENT_DISTINGUISH': 1, + 'POST_COMMENT_MODERATION_TOOLS_VISIBLE': 2, 'POST_EDITING': 3, 'USER_BADGES': 2, 'USER_BAN': 2, diff --git a/files/templates/comments.html b/files/templates/comments.html index 7028d366c..a20d31479 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -682,7 +682,7 @@ -{% if v and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %} +{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION_TOOLS_VISIBLE'] %}