diff --git a/files/helpers/const.py b/files/helpers/const.py index f71a9e5c8..b29ab6e86 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -153,6 +153,7 @@ PERMS = { # Minimum admin_level to perform action. 'VIEW_CLUB': 1, 'VIEW_CHUDRAMA': 1, 'VIEW_PRIVATE_PROFILES': 2, + 'VIEW_ALTS': 2, 'PRINT_MARSEYBUX_FOR_KIPPY_ON_PCMEMES': 3, 'VIEW_ACTIVE_USERS': 2, 'MERGE_USERS': 3, # note: extra check for Aevann diff --git a/files/templates/userpage.html b/files/templates/userpage.html index c97a5cb2f..c4da5afda 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -387,7 +387,7 @@ {% if u.is_private %}
User has private mode enabled.
{% endif %} - {% if v and (v.admin_level > 1 or v.alt) %} + {% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %} Alts:User has private mode enabled.
{% endif %} - {% if v and (v.admin_level > 1 or v.alt) %} + {% if v and (v.admin_level >= PERMS['VIEW_ALTS'] or v.alt) %} Alts: