mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
fixing r35871: status was not explicitly set to false (only to true) and therefore not editable
This commit is contained in:
parent
66219afde9
commit
7d773f6f48
@ -1060,15 +1060,9 @@ function replace_eTemplate_onsubmit()
|
||||
'uid' => $member,
|
||||
'status' => 'G',
|
||||
);
|
||||
$readonlys[$row.'[quantity]'] = $readonlys["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[$row.'[quantity]'] = $readonlys["delete[$member]"] =$readonlys[$row]['status']= true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$readonlys[$row.'[quantity]'] = $readonlys["delete[$member]"] = true;
|
||||
}
|
||||
$readonlys[$row.'[status]'] = !$this->bo->check_perms(EGW_ACL_EDIT,0,$member);
|
||||
$content['participants'][$row++]['title'] = common::grab_owner_name($member);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user