Add capability for co-maintainers to disown packages

Implements FS#53832.

Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Mark Weiman 2018-02-05 21:54:56 -05:00 committed by Lukas Fleischer
parent 27654afadb
commit f15c700ad2
4 changed files with 24 additions and 6 deletions

View file

@ -60,6 +60,9 @@ if (check_token()) {
$output = __("The selected packages have not been disowned, check the confirmation checkbox.");
$ret = false;
}
} elseif (current_action("do_DisownComaintainer")) {
$uid = uid_from_sid($_COOKIE["AURSID"]);
list($ret, $output) = pkgbase_remove_comaintainer($base_id, $uid);
} elseif (current_action("do_Vote")) {
list($ret, $output) = pkgbase_vote($ids, true);
} elseif (current_action("do_UnVote")) {