mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
This allows for having multiple co-maintainers for AUR packages. Co-maintainers have push access to the package base Git repository but are not allowed to change the package base category, disown the package or modify the list of co-maintainers. The primary maintainer of an AUR package can edit the list of co-maintainers from the Package Actions box. Implements FS#17911. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
21 lines
472 B
PHP
21 lines
472 B
PHP
<?php
|
|
|
|
set_include_path(get_include_path() . PATH_SEPARATOR . '../lib');
|
|
|
|
include_once("aur.inc.php");
|
|
include_once("pkgbasefuncs.inc.php");
|
|
|
|
set_lang();
|
|
check_sid();
|
|
|
|
if (!isset($base_id) || !has_credential(CRED_PKGBASE_EDIT_COMAINTAINERS, array(pkgbase_maintainer_uid($base_id)))) {
|
|
header('Location: /');
|
|
exit();
|
|
}
|
|
|
|
html_header(__("Manage Co-maintainers"));
|
|
$users = pkgbase_get_comaintainers($base_id);
|
|
include('comaintainers_form.php');
|
|
html_footer(AUR_VERSION);
|
|
|
|
|