public function access(AccountInterface $account) { foreach ($this->permissions as $permission) { if ($account ->hasPermission($permission)) { return TRUE; } } }