From 3ac958ac0167d1c1989fc09e893a578e8a22f21f Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 18 Aug 2019 03:17:05 -0400 Subject: Move permission for LIST_COMMENTS to dev/tu block In commit 3578e77ad4e9258495eed7e786b7dc3aebcf1b63 we implemented listing of comments from the account details page , but this was intended to only be available to TUs and Devs. As the comment says: "display the comment list if they're a TU/dev" The credential checking code, however, set this credential for all users, contrary to the intention of the commit. In order to preserve the ability to list a person's own comments, also declare the allowed uids based on the profile being viewed. --- web/template/account_details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/template') diff --git a/web/template/account_details.php b/web/template/account_details.php index fa6b528c..84f8b9c5 100644 --- a/web/template/account_details.php +++ b/web/template/account_details.php @@ -82,7 +82,7 @@
  • - +
  • -- cgit v1.2.3-24-g4f1b