4include_once(
"./Services/Object/classes/class.ilObjectAccess.php");
5require_once(
'./Services/WebAccessChecker/interfaces/interface.ilWACCheckingClass.php');
26 public function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"")
39 if (
'usr_registration' == $a_target) {
40 require_once
'Services/Registration/classes/class.ilRegistrationSettings.php';
43 $GLOBALS[
'DIC']->language()->loadLanguageModule(
'registration');
47 } elseif (
'usr_nameassist' == $a_target) {
48 if (!$settings->get(
'password_assistance')) {
49 $GLOBALS[
'DIC']->language()->loadLanguageModule(
'pwassist');
53 } elseif (
'usr_pwassist' == $a_target) {
54 if (!$settings->get(
'password_assistance')) {
55 $GLOBALS[
'DIC']->language()->loadLanguageModule(
'pwassist');
77 preg_match(
"/usr_(\\d*).*/ui", $ilWACPath->
getFileName(), $matches);
78 $usr_id = $matches[1];
81 if ($usr_id ==
$ilUser->getId()) {
87 if ($public_upload !=
'y') {
94 if ($public_profile ==
'g' and
$ilSetting->get(
'enable_global_profiles') and
$ilSetting->get(
'pub_section')) {
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
An exception for terminatinating execution or to throw for unit testing.
canBeDelivered(ilWACPath $ilWACPath)
_checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="")
Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAcce...
static _checkGoto($a_target)
check whether goto script will succeed
static _getCommands()
get commands
static _lookupPref($a_usr_id, $a_keyword)
Class ilObjAuthSettingsGUI.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
Class ilWACCheckingClass.