Example #1
0
 /** Check whether a given user may see this issue.
  * @p $user User whose access should be checked
  * @return Whether he may access the issue
  */
 public function checkUser($user = null)
 {
     if ($user == null) {
         $user = S::user();
     }
     $uf = new UserFilter($this->getRecipientsUFC());
     return $uf->checkUser($user);
 }