diff options
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") |