Closed
Bug 252128
Opened 21 years ago
Closed 21 years ago
I can assign bugs to disabled users
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
People
(Reporter: adydeac, Assigned: justdave)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040713
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040713
If I disable a user I can still assign bugs to him. Is it an optional thinggie?
Because if I disable an account, for instance, I do it because the user is not
working for me anymore.
Reproducible: Always
Steps to Reproduce:
1.disable an account
2.assign a bug to him
3.wait for the bug to be solved
4.die waiting ;)
Actual Results:
who knows? who whill remembers about me? ;)
Expected Results:
warn the user of the impossibilty to solve the bug by the assigned person
maybe it can be a good ideea to make a "Sanity check" about this, to force the
Project Admin to reassing the tasks
diff to 2.16.5
--- globals.pl.orig 2004-03-03 09:28:16.000000000 +0200
+++ globals.pl 2004-07-19 19:19:10.657747864 +0300
@@ -950,13 +950,26 @@
my ($name) = (@_);
my $result = DBname_to_id($name);
if ($result > 0) {
- return $result;
- }
-
- $name = html_quote($name);
- ThrowUserError("The name <TT>$name</TT> is not a valid username.
+ my ($name) = (@_);
+ PushGlobalSQLState();
+ SendSQL("select disabledtext from profiles where login_name =
@{[SqlQuote($name)]}");
+ my $r = FetchOneColumn();
+ PopGlobalSQLState();
+ if ((defined $r)&&(! $r eq '')) {
+ $name = html_quote($name);
+ ThrowUserError("$r<hr>" .
+ "If you believe that the account should be restored, please " .
+ "send email to " . Param("maintainer") . " explaining why.",
+ "The account <TT>$name</TT> has been disabled");
+ } else {
+ return $result;
+ }
+ } else {
+ $name = html_quote($name);
+ ThrowUserError("The name <TT>$name</TT> is not a valid username.
Either you misspelled it, or the person has not
registered for a Bugzilla account.");
+ }
}
Assignee | ||
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 97662 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•