diff options
Diffstat (limited to 'Bug.pm')
-rwxr-xr-x | Bug.pm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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") |