diff options
author | bbaetz%acm.org <> | 2003-01-23 16:11:25 +0100 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-01-23 16:11:25 +0100 |
commit | 43fe2ebf19228c256ad630af3590632df62eb860 (patch) | |
tree | 24d5062ce1b441bc48a0e048655dac3f013ad618 /Bugzilla | |
parent | dec8ca8d7081f4007eb019f32c1c08319e357124 (diff) | |
download | bugzilla-43fe2ebf19228c256ad630af3590632df62eb860.tar.gz bugzilla-43fe2ebf19228c256ad630af3590632df62eb860.tar.xz |
Bug 188161 - assignee/qa missing change knobs.
r, a=justdave
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 6 |
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") |