diff --git a/files/helpers/const.py b/files/helpers/const.py index 2fe736942..e44fa9d57 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -172,6 +172,7 @@ PERMS = { # Minimum admin_level to perform action. 'VIEW_ALT_VOTES': 2, 'VIEW_LAST_ACTIVE': 2, 'VIEW_PATRONS': 3, # note: extra check for Aevann, carp, or snakes + 'VIEW_VOTE_BUTTONS_ON_USER_PAGE': 2, 'PRINT_MARSEYBUX_FOR_KIPPY_ON_PCMEMES': 3, # note: explicitly disabled on rDrama 'SITE_SETTINGS': 3, 'SITE_SETTINGS_SIDEBARS_BANNERS_BADGES': 3, @@ -187,12 +188,7 @@ PERMS = { # Minimum admin_level to perform action. 'MESSAGE_BLOCKED_USERS': 1, 'APPS_MODERATION': 3, 'STREAMERS_MODERATION': 2, - 'UNKNOWN_ADMIN_LEVEL2_PERM1': 2, - 'UNKNOWN_ADMIN_LEVEL2_PERM2': 2, - 'UNKNOWN_ADMIN_LEVEL2_PERM3': 2, 'UNKNOWN_ADMIN_LEVEL2_PERM4': 2, - 'UNKNOWN_ADMIN_LEVEL2_PERM5': 2, - 'UNKNOWN_ADMIN_LEVEL2_PERM6': 2, } FEATURES = { diff --git a/files/templates/comments.html b/files/templates/comments.html index b03bcaa13..7028d366c 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -315,7 +315,7 @@ - {% if v and request.path.startswith('/@') and v.admin_level < PERMS['UNKNOWN_ADMIN_LEVEL2_PERM1'] %} + {% if v and request.path.startswith('/@') and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %}