aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-01-23 15:11:25 +0000
committerbbaetz%acm.org <>2003-01-23 15:11:25 +0000
commit43fe2ebf19228c256ad630af3590632df62eb860 (patch)
tree24d5062ce1b441bc48a0e048655dac3f013ad618 /Bugzilla
parentdec8ca8d7081f4007eb019f32c1c08319e357124 (diff)
downloadbugs-43fe2ebf19228c256ad630af3590632df62eb860.tar
bugs-43fe2ebf19228c256ad630af3590632df62eb860.tar.gz
bugs-43fe2ebf19228c256ad630af3590632df62eb860.tar.bz2
bugs-43fe2ebf19228c256ad630af3590632df62eb860.tar.xz
bugs-43fe2ebf19228c256ad630af3590632df62eb860.zip
Bug 188161 - assignee/qa missing change knobs.
r, a=justdave
Diffstat (limited to 'Bugzilla')
-rwxr-xr-xBugzilla/Bug.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 251ad16e2..35f8402ef 100755
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -373,9 +373,9 @@ sub user {
# in the world; their permissions will get checked when they log in
# and actually try to make the change.
$self->{'user'}->{'canedit'} = $::userid == 0
- || $::userid == $self->{'reporter'}
- || $::userid == $self->{'qa_contact'}
- || $::userid == $self->{'assigned_to'}
+ || $::userid == $self->{'reporter'}{'id'}
+ || ($self->{'qa_contact'} && $::userid == $self->{'qa_contact'}{'id'})
+ || $::userid == $self->{'assigned_to'}{'id'}
|| &::UserInGroup("editbugs");
$self->{'user'}->{'canconfirm'} = ($::userid == 0)
|| &::UserInGroup("canconfirm")