Login error when trying to use bugzilla-submit utility.

Christian Robottom Reis kiko at async.com.br
Fri May 28 23:02:55 UTC 2004

On Fri, May 28, 2004 at 04:30:28PM +0100, Paulo Casanova wrote:
> Well, you could always hack post_bug.cgi and, when CheckFormField is called
> (you can search for it as all calls are next each other) and change it from:
> CheckFormField(\%::FORM, 'bug_status',   [$::unconfirmedstate, 'NEW']);
> to:
> CheckFormField(\%::FORM, 'bug_status',   [$::unconfirmedstate, 'NEW',
> of, course, I don't assume any responsability on this :) and you should but
> it back as soon as you have finished your migration...

Problem here is that not everyone should have rights to post
ASSIGNED/CLOSED bugs, and there's currently no way to limit this in the
permissions backend. But yeah, that would be an initial hack at least.

Note that there's another, related check in the same file which sets the
default status for the bug and forces it to UNCONFIRMED if the user
doesn't have canconfirm or canedit privileges.

Take care,
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331

More information about the developers mailing list