19 declare(strict_types=1);
33 $this->current_user_id = $DIC->user()->getId();
35 $this->
access = $DIC->access();
47 return $this->
access->checkAccessOfUser(
66 return $this->
access->checkAccessOfUser(
76 return $this->
access->checkAccessOfUser(
getUserId(int $user_id=0)
canDelete(\ilNewsItem $i, $user_id=0)
A news item can be created by different sources.
canAccessManageOverview($user_id=0)
List of news of the news block.
canEdit(\ilNewsItem $i, $user_id=0)
canEditSettings($user_id=0)