[aur-dev] [PATCH] Forbid developers to vote
Lukas Fleischer
archlinux at cryptocrack.de
Sat Jan 11 06:11:56 EST 2014
On Fri, 10 Jan 2014 at 20:09:28, Balló György wrote:
> According to Trusted User Bylaws, TUs (and only TUs) must take part in
> votes. Developers who want to take part in votes should set their account
> type to 'Trusted User'.
> ---
> web/html/tu.php | 3 +++
> 1 file changed, 3 insertions(+)
>
Merged, thanks!
> diff --git a/web/html/tu.php b/web/html/tu.php
> index a6aa292..5d4e37d 100644
> --- a/web/html/tu.php
> +++ b/web/html/tu.php
> @@ -39,6 +39,9 @@ if ($atype == "Trusted User" || $atype == "Developer") {
> if ($isrunning == 0) {
> $canvote = 0;
> $errorvote = __("Voting is closed for this proposal.");
> + } else if ($atype == "Developer") {
> + $canvote = 0;
> + $errorvote = __("Only Trusted Users are allowed to vote.");
> } else if ($row['User'] == username_from_sid($_COOKIE["AURSID"])) {
> $canvote = 0;
> $errorvote = __("You cannot vote in an proposal about you.");
> --
> 1.8.5.2
>
More information about the aur-dev
mailing list