forked from extern/egroupware
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;
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user