mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-10 16:08:34 +01:00
stops editing of events if no permission to do so
This commit is contained in:
parent
bd18c2ef93
commit
16323572bd
@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
$can_edit = False;
|
$can_edit = False;
|
||||||
|
|
||||||
if(($cal_info->owner == $owner) || ($phpgw->calendar->check_perms(PHPGW_ACL_EDIT) == True))
|
if(($cal_info->owner == $owner) && ($phpgw->calendar->check_perms(PHPGW_ACL_EDIT) == True))
|
||||||
{
|
{
|
||||||
$can_edit = True;
|
$can_edit = True;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user