mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed ACL for status offer, it respects now the regular read-access restrictions
This commit is contained in:
parent
9f9ef95b80
commit
735f8e4036
@ -128,7 +128,9 @@
|
||||
// private: own entries plus the one user is responsible for
|
||||
if ($filter == 'private' || $filter == 'own')
|
||||
{
|
||||
$filtermethod .= " OR (info_responsible=$this->user OR info_status = 'offer')".
|
||||
$filtermethod .= " OR (info_responsible=$this->user".
|
||||
($filter == 'own' && count($public_user_list) ? // offer's should show up in own, eg. startpage, but need read-access
|
||||
" OR info_status = 'offer' AND info_owner IN(" . implode(',',$public_user_list) . ')' : '').")".
|
||||
" AND (info_access='public'".($has_private_access?" OR $has_private_access":'').')';
|
||||
}
|
||||
else // none --> all entrys user has rights to see
|
||||
|
Loading…
Reference in New Issue
Block a user