summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_comment_form.php
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-08-18 09:17:05 +0200
committerEli Schwartz <eschwartz@archlinux.org>2019-08-18 19:01:37 +0200
commit3ac958ac0167d1c1989fc09e893a578e8a22f21f (patch)
tree0529a7543d0ec453d04447038c219dd57cece732 /web/template/pkg_comment_form.php
parent7f008b0bc4610dad15c6dfaaf724d4d5bad84c55 (diff)
downloadaur-3ac958ac0167d1c1989fc09e893a578e8a22f21f.tar.gz
aur-3ac958ac0167d1c1989fc09e893a578e8a22f21f.tar.xz
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.
Diffstat (limited to 'web/template/pkg_comment_form.php')
0 files changed, 0 insertions, 0 deletions