$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, null, $user, $settings); if ($user->isGuest()) { UI::exitError(getMLText("my_account"),getMLText("access_denied")); } if (!$settings->_enableUsersView) { UI::exitError(getMLText("my_account"),getMLText("access_denied")); } $allUsers = $dms->getAllUsers(); if (is_bool($allUsers)) { UI::exitError(getMLText("my_account"),getMLText("internal_error")); } $allGroups = $dms->getAllGroups(); if (is_bool($allGroups)) { UI::exitError(getMLText("admin_tools"),getMLText("internal_error")); } if($view) { $view->setParam('allusers', $allUsers); $view->setParam('allgroups', $allGroups); $view->setParam('accessobject', $accessop); $view($_GET); exit; }