[aur-dev] [PATCH] Add support for 'User' to see the voters of a package

Laszlo Papp djszapi2 at gmail.com
Sun Sep 27 21:25:54 EDT 2009


./web/html/voters.php:
       - 'User' accounts were added to the condition
       to be able for simple Users to see the voters
       of a package, like in case of http://bugs.archlinux.org

Signed-off-by: Laszlo Papp <djszapi at archlinux.us>
---
 web/html/voters.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web/html/voters.php b/web/html/voters.php
index a3b2469..6ebb459 100644
--- a/web/html/voters.php
+++ b/web/html/voters.php
@@ -17,7 +17,7 @@ $pkgid = $_GET['ID'];
 $votes = getvotes($pkgid);
 $account = account_from_sid($SID);

-if ($account == 'Trusted User' || $account == 'Developer') {
+if ($account == 'User' || $account == 'Trusted User' || $account ==
'Developer') {
 ?>
 <html>
 <body>
--
1.6.4.4


More information about the aur-dev mailing list