mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
Store InfoLog entries with ower
This commit is contained in:
parent
8175306dea
commit
8207f03cdd
@ -448,7 +448,7 @@ class calendar_groupdav extends groupdav_handler
|
|||||||
|
|
||||||
if (is_null($oldEvent) && !$this->bo->check_perms(EGW_ACL_ADD, 0, $user))
|
if (is_null($oldEvent) && !$this->bo->check_perms(EGW_ACL_ADD, 0, $user))
|
||||||
{
|
{
|
||||||
// we have not permission on this user's calendar
|
// we have no add permission on this user's calendar
|
||||||
if ($this->debug) error_log(__METHOD__."(,$user) we have not enough rights on this calendar");
|
if ($this->debug) error_log(__METHOD__."(,$user) we have not enough rights on this calendar");
|
||||||
return '403 Forbidden';
|
return '403 Forbidden';
|
||||||
}
|
}
|
||||||
|
@ -332,7 +332,7 @@ class infolog_bo
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if use is responsible for an entry: he or one of his memberships is in responsible
|
* Check if user is responsible for an entry: he or one of his memberships is in responsible
|
||||||
*
|
*
|
||||||
* @param array $info infolog entry as array
|
* @param array $info infolog entry as array
|
||||||
* @return boolean
|
* @return boolean
|
||||||
|
@ -400,7 +400,7 @@ class infolog_ical extends infolog_bo
|
|||||||
|
|
||||||
if (!is_null($user))
|
if (!is_null($user))
|
||||||
{
|
{
|
||||||
$taskData['info_responsible'] = array($user);
|
$taskData['info_owner'] = $user;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->log)
|
if ($this->log)
|
||||||
|
Loading…
Reference in New Issue
Block a user