the filter own now shows not assigned tasks (offers) from other owners, if they are not private (and you dont have private grant for the owner)

This commit is contained in:
Ralf Becker 2001-10-04 19:04:58 +00:00
parent 7173930c1a
commit 118c9a80dd

View File

@ -101,7 +101,8 @@
// private: own entries plus the one user is responsible for
if ($filter == 'private' || $filter == 'own')
{
$filtermethod .= " OR info_responsible=$this->user AND (info_access='public'".($has_private_access?" OR $has_private_access":'').')';
$filtermethod .= " OR (info_responsible=$this->user OR info_status = 'offer')".
" AND (info_access='public'".($has_private_access?" OR $has_private_access":'').')';
}
else // none --> all entrys user has rights to see
{