diff options
Diffstat (limited to 'ui/app/controllers/CControllerUserTokenList.php')
-rw-r--r-- | ui/app/controllers/CControllerUserTokenList.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/controllers/CControllerUserTokenList.php b/ui/app/controllers/CControllerUserTokenList.php index 984fc327a1c..6f7e7b1be94 100644 --- a/ui/app/controllers/CControllerUserTokenList.php +++ b/ui/app/controllers/CControllerUserTokenList.php @@ -49,6 +49,10 @@ class CControllerUserTokenList extends CController { } protected function checkPermissions() { + if (CWebUser::isGuest()) { + return false; + } + return $this->checkAccess(CRoleHelper::ACTIONS_MANAGE_API_TOKENS); } |