mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 07:04:07 +01:00
* [FIX] Fixed wrong Acl behavior
* [FIX] Minor bugfixes * [MOD] Updated db schema
This commit is contained in:
@@ -132,7 +132,7 @@ abstract class SimpleControllerBase
|
||||
*/
|
||||
protected function checkAccess($action)
|
||||
{
|
||||
if (!$this->session->getUserData()->getIsAdminApp() || !$this->acl->checkUserAccess($action)) {
|
||||
if (!$this->session->getUserData()->getIsAdminApp() && !$this->acl->checkUserAccess($action)) {
|
||||
throw new UnauthorizedPageException(UnauthorizedPageException::INFO);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user