Hi!
How to hide news article from other authors ? (in backend)
For example:
news article 1 [author: user1]
news article 2 [author: user1]
news article 3 [author: user2]
news article 4 [author: user1]
news article 5 [author: user2]
maybe something like this:
$objUser = BackendUser::getInstance();
if ($objUser->username != $arrRow['author'])
{
return;
}
user1 see only
news article 1 [author: user1]
news article 2 [author: user1]
news article 4 [author: user1]
user2 see only
news article 3 [author: user2]
news article 5 [author: user2]
but how?
maybe do something in dca/tl_news.php
$GLOBALS['TL_DCA']['tl_news']['list']
please help!
Bookmarks