mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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;
|
||||
|
||||
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