cvs: pearweb /public_html/admin package-maintainers.php
| From: | Daniel Convissor | Date: | Thu, 02 Sep 2004 01:00:43 +0000 |
| Subject: | cvs: pearweb /public_html/admin package-maintainers.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-23568@lists.php.net to get a copy of this message | ||
danielc Wed Sep 1 21:00:43 2004 EDT
Modified files:
/pearweb/public_html/admin package-maintainers.php
Log:
* Let QA edit maintainers. Patch by Klaus.
http://cvs.php.net/diff.php/pearweb/public_html/admin/package-maintainers.php?r1=1.8&r2=1.9&ty=u
Index: pearweb/public_html/admin/package-maintainers.php
diff -u pearweb/public_html/admin/package-maintainers.php:1.8
pearweb/public_html/admin/package-maintainers.php:1.9
--- pearweb/public_html/admin/package-maintainers.php:1.8 Mon May 10 17:44:38 2004
+++ pearweb/public_html/admin/package-maintainers.php Wed Sep 1 21:00:43 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: package-maintainers.php,v 1.8 2004/05/10 21:44:38 pajoye Exp $
+ $Id: package-maintainers.php,v 1.9 2004/09/02 01:00:43 danielc Exp $
*/
require_once "HTML/Form.php";
@@ -156,8 +156,9 @@
auth_require();
$lead = in_array($_COOKIE['PEAR_USER'], array_keys(maintainer::get($package, true)));
$admin = user::isAdmin($_COOKIE['PEAR_USER']);
+ $qa = user::isQA($_COOKIE['PEAR_USER']);
- return ($lead || $admin);
+ return ($lead || $qa || $admin);
}
response_footer();