diff --git a/files/templates/comments.html b/files/templates/comments.html
index 95c3d504a..556c7ca40 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -682,7 +682,7 @@
-{% if v and v.admin_level > 1 %}
+{% if v and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
@@ -707,17 +707,18 @@
Unmark +18
{% endif %}
- {% if v.id != c.author_id %}
+ {% if v.id != c.author_id and v.admin_level >= PERMS['USER_BAN'] %}
Ban userUnban user
{% endif %}
-
- {% if "/reported/" in request.path %}
- Remove
- Approve
- {% else %}
- Remove
- Approve
+ {% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
+ {% if "/reported/" in request.path %}
+ Remove
+ Approve
+ {% else %}
+ Remove
+ Approve
+ {% endif %}
{% endif %}
{% if c.oauth_app and v.admin_level >= PERMS['APPS_MODERATE'] %}
@@ -819,7 +820,7 @@
- {% if v and v.admin_level >= 2 %}
+ {% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
{% endif %}
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index 01ed1c5b1..6cdb61256 100644
--- a/files/templates/submission_listing.html
+++ b/files/templates/submission_listing.html
@@ -225,7 +225,7 @@
- {% if v and v.admin_level > 1 %}
+ {% if v and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
@@ -311,7 +311,7 @@
-{% if v and v.admin_level > 1 %}
+{% if v and v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %}
{% include "post_admin_actions_mobile.html" %}
{% endif %}
diff --git a/files/templates/userpage.html b/files/templates/userpage.html
index c44fb0153..da0c5a58c 100644
--- a/files/templates/userpage.html
+++ b/files/templates/userpage.html
@@ -270,7 +270,7 @@
Toggle anthem
{% endif %}
- {% if v and v.id != u.id and v.admin_level > 1 %}
+ {% if v and v.id != u.id and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
{% if v.admin_level >= PERMS['USER_TITLE_CHANGE'] %}
@@ -638,12 +638,12 @@
- {% if v.admin_level > 1 %}
+ {% if v and v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
- {% if FEATURES['COUNTRY_CLUB'] and v.admin_level >= PERMS['USER_CLUB_ALLOW_BAN'] -%}
-
-
- {%- endif %}
+ {% if FEATURES['COUNTRY_CLUB'] and v.admin_level >= PERMS['USER_CLUB_ALLOW_BAN'] -%}
+
+
+ {%- endif %}