[RFC] bugzilla import finished for the moment
Stephan Kulow
coolo at kde.org
Fri Aug 23 10:51:35 BST 2002
On Friday 23 August 2002 10:50, Stephan Kulow wrote:
> On Friday 23 August 2002 09:24, Gervase Markham wrote:
> > > Actually the biggest missing feature is the one GNOME hacked in. You
> > > can't have a development mailing list assigned to an account, so you
> > > need some other kind of alias how to define the initial owner. Or an
> > > automated Cc per product would do it.
> >
> > Well, you can create a Bugzilla account for that mailing list, in the
> > same way as any other address, and make it the owner. That works fine,
> > with no code changes needed.
> >
> > There is also an enhancement request for a feature called "component
> > watching", where a user can choose to get all mail associated with a
> > component. But it's not implemented yet.
>
> OK, I disabled this account now. This works fine, noone can log in. And
> I guess a patch to not even send email for a disable account would be
> accepted by the bugzilla team? :)
I.e. like this:
Index: token.cgi
===================================================================
RCS file: /cvsroot/mozilla/webtools/bugzilla/token.cgi,v
retrieving revision 1.7.2.1
diff -u -5 -d -p -u -r1.7.2.1 token.cgi
--- token.cgi 17 Jun 2002 09:39:46 -0000 1.7.2.1
+++ token.cgi 23 Aug 2002 09:40:34 -0000
@@ -115,10 +115,20 @@ if ( $::action eq 'reqpw' ) {
my $quotedloginname = SqlQuote($::FORM{'loginname'});
SendSQL("SELECT userid FROM profiles WHERE login_name =
$quotedloginname");
FetchSQLData()
|| DisplayError("There is no Bugzilla account with that login name.")
&& exit;
+ SendSQL("SELECT disabledtext FROM profiles WHERE login_name =
$quotedloginname");
+ my $disabledtext = FetchOneColumn();
+ if (! $disabledtext eq '') {
+ ThrowUserError($disabledtext . "<hr>" .
+ "If you believe your account should be restored, please " .
+ "send email to " . Param("maintainer") . " explaining why.",
+ "Your account has been disabled");
+ exit;
+ }
+
}
Greetings, Stephan
More information about the kde-core-devel
mailing list