Skip to content
Snippets Groups Projects
Commit ff376d04 authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

FIX: wrong access comparison in checkAccess();

parent b149b662
No related merge requests found
......@@ -11,7 +11,7 @@ class Controller_Environment_Office extends Controller_Environment_User
public function before() {
parent::before();
$this->user->checkAccess(User::RIGHTS_DEAN || User::RIGHTS_ADMIN);
$this->user->checkAccess(User::RIGHTS_DEAN | User::RIGHTS_ADMIN);
// todo: move to twig
$sidePanelMenu = Model_System::loadConfig("menu.json");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment