Bug #5342 [Opn]: Inactive maintainers not fully implemented
| From: | klaus at capitalfocus dot org | Date: | Thu, 08 Sep 2005 19:02:52 +0000 |
| Subject: | Bug #5342 [Opn]: Inactive maintainers not fully implemented | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-4388@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=5342&edit=1
ID: 5342
Updated by: klaus@capitalfocus.org
Reported By: thesaur at php dot net
Status: Open
Id: 5342
Type: Bug
Package: Web Site
Operating System: NA
PHP Version: Irrelevant
New Comment:
Here's a patch for account-info. I think it should work.
Index: account-info.php
===================================================================
RCS file: /repository/pearweb/public_html/account-info.php,v
retrieving revision 1.41
diff -u -r1.41 account-info.php
--- account-info.php 28 Jul 2005 16:25:33 -0000 1.41
+++ account-info.php 8 Sep 2005 19:01:29 -0000
@@ -160,7 +160,7 @@
<?php
-$query = 'SELECT p.id, p.name, m.role'
+$query = 'SELECT p.id, p.name, m.role, m.active'
. ' FROM packages p, maintains m'
. ' WHERE m.handle = ? AND p.id = m.package'
. ' ORDER BY p.name';
@@ -171,6 +171,11 @@
echo '<li>';
print_link('/package/' . htmlspecialchars($row['name']),
htmlspecialchars($row['name']));
+ echo sprintf("(%s%s)<br />",
+ ($row['active'] == 0 ? "inactive " : ""),
+ htmlspecialchars($row['role'])
+ );
+
echo ' (' . htmlspecialchars($row['role']) . ')';
echo ' <small><a
href="/bugs/search.php?package_name%5B%5D=';
echo htmlspecialchars($row['name']) .
'&cmd=display">Bugs</a></small>';
Previous Comments:
------------------------------------------------------------------------
[2005-09-08 13:07:29] smith at pooteeweet dot org
Actually I was wrong .. they can edit .. though i am not sure if they
should be able to ..
------------------------------------------------------------------------
[2005-09-08 13:05:52] thesaur at php dot net
Description:
------------
Just to keep a sticky here...
Lukas mentioned on IRC that inactive maintainers are not properly
listed as such on their user profiles. Also, they can see, but not use,
the "edit maintainers" tabs on the package (this should be OK). And they
can edit the package using the "edit" tab (no ok).
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=5342&edit=1