src/system/UsersModule/Controller/AccountController.php 1 location
|
@@ 37-39 (lines=3) @@
|
| 34 |
|
*/ |
| 35 |
|
public function menuAction() |
| 36 |
|
{ |
| 37 |
|
if ($this->get('zikula_users_module.current_user')->isLoggedIn() && !$this->hasPermission('ZikulaUsersModule::', '::', ACCESS_READ)) { |
| 38 |
|
throw new AccessDeniedException(); |
| 39 |
|
} |
| 40 |
|
|
| 41 |
|
$accountLinks = []; |
| 42 |
|
if ($this->get('zikula_users_module.current_user')->isLoggedIn()) { |
src/system/SearchModule/Controller/UserController.php 1 location
|
@@ 234-237 (lines=4) @@
|
| 231 |
|
public function recentAction(Request $request) |
| 232 |
|
{ |
| 233 |
|
// security check |
| 234 |
|
if (!$this->hasPermission('ZikulaSearchModule::', '::', ACCESS_READ) |
| 235 |
|
|| !$this->get('zikula_users_module.current_user')->isLoggedIn()) { |
| 236 |
|
throw new AccessDeniedException(); |
| 237 |
|
} |
| 238 |
|
|
| 239 |
|
// Get parameters from whatever input we need. |
| 240 |
|
$startnum = $request->query->filter('startnum', 1, false, FILTER_VALIDATE_INT); |