diff options
author | gerv%gerv.net <> | 2003-02-16 20:59:43 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2003-02-16 20:59:43 +0100 |
commit | 5a8548ce03181d006f133b349ff8ed6605bb09fa (patch) | |
tree | d21a0b28c21756ff45b30c9f7b86b5eae32296cc /Bugzilla | |
parent | 550ffb9f7128ff8e4697bbc0dddd1aadb2c8c2d1 (diff) | |
download | bugzilla-5a8548ce03181d006f133b349ff8ed6605bb09fa.tar.gz bugzilla-5a8548ce03181d006f133b349ff8ed6605bb09fa.tar.xz |
Bug 186994 - Unable to accept a new bug that has been assigned. Patch by gerv; r=bbaetz, a=justdave.
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index dd91d6f3f..14876dbe3 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -379,9 +379,11 @@ sub user { || ($self->{'qa_contact'} && $::userid == $self->{'qa_contact'}{'id'}) || $::userid == $self->{'assigned_to'}{'id'} || &::UserInGroup("editbugs"); - $self->{'user'}->{'canconfirm'} = ($::userid == 0) - || &::UserInGroup("canconfirm") - || &::UserInGroup("editbugs"); + $self->{'user'}->{'canconfirm'} = $::userid == 0 + || ($self->{'qa_contact'} && $::userid == $self->{'qa_contact'}{'id'}) + || $::userid == $self->{'assigned_to'}{'id'} + || &::UserInGroup("editbugs") + || &::UserInGroup("canconfirm"); return $self->{'user'}; } |