diff --git a/templates/account/show.html b/templates/account/show.html
index 0c99c99f..14a4eccf 100644
--- a/templates/account/show.html
+++ b/templates/account/show.html
@@ -69,20 +69,24 @@
| safe
}}
-
- {{ "%sEdit this user's account%s"
- | tr
- | format('' | format(user.Username), "")
- | safe
- }}
-
-
- {{ "%sList this user's comments%s"
- | tr
- | format('' | format(user.Username), "")
- | safe
- }}
-
+ {% if request.user.has_credential(creds.ACCOUNT_EDIT, approved=[user]) %}
+
+ {{ "%sEdit this user's account%s"
+ | tr
+ | format('' | format(user.Username), "")
+ | safe
+ }}
+
+ {% endif %}
+ {% if request.user.has_credential(creds.ACCOUNT_LIST_COMMENTS, approved=[user]) %}
+
+ {{ "%sList this user's comments%s"
+ | tr
+ | format('' | format(user.Username), "")
+ | safe
+ }}
+
+ {% endif %}