fix not being able to accept/reject group-invitation, if not further rights

This commit is contained in:
Ralf Becker 2014-11-25 10:41:06 +00:00
parent 53d487c094
commit 285f2382ea

View File

@ -1448,9 +1448,7 @@ class calendar_uiforms extends calendar_ui
);
$readonlys['participants'][$row]['quantity'] = $readonlys['participants']['delete'][$member] = true;
// read access is enough to invite participants, but you need edit rights to change status
if (!$this->bo->check_perms(EGW_ACL_EDIT,0,$member))
$readonlys['participants'][$row]['status'] = true;
//$readonlys[$row.'[status]'] = !$this->bo->check_perms(EGW_ACL_EDIT,0,$member);
$readonlys['participants'][$row]['status'] = !$this->bo->check_perms(EGW_ACL_EDIT,0,$member);
$content['participants'][$row++]['title'] = common::grab_owner_name($member);
}
}