|
ILIAS
release_8 Revision v8.24
|
Soap rbac administration methods. More...
Inheritance diagram for ilSoapRBACAdministration:
Collaboration diagram for ilSoapRBACAdministration:Public Member Functions | |
| deleteRole (string $sid, int $role_id) | |
| addUserRoleEntry (string $sid, int $user_id, int $role_id) | |
| deleteUserRoleEntry (string $sid, int $user_id, int $role_id) | |
| getOperations (string $sid) | |
| revokePermissions (string $sid, int $ref_id, int $role_id) | |
| grantPermissions (string $sid, int $ref_id, int $role_id, array $permissions) | |
| getLocalRoles (string $sid, int $ref_id) | |
| getUserRoles (string $sid, int $user_id) | |
| addRole (string $sid, int $target_id, string $role_xml) | |
| addRoleFromTemplate (string $sid, int $target_id, string $role_xml, int $template_id) | |
| getObjectTreeOperations (string $sid, int $ref_id, int $user_id) | |
| getRoles (string $sid, string $role_type, int $id) | |
| searchRoles (string $sid, string $key, string $combination, string $role_type) | |
| search for roles. More... | |
Public Member Functions inherited from ilSoapAdministration | |
| __construct (bool $use_nusoap=true) | |
| getMessage () | |
| appendMessage (string $a_str) | |
| setMessageCode (string $a_code) | |
| getMessageCode () | |
| reInitUser () | |
| isFault ($object) | |
| getInstallationInfoXML () | |
| getClientInfoXML (string $clientid) | |
Private Member Functions | |
| parseUserID (int $id, string $role_type) | |
Additional Inherited Members | |
Data Fields inherited from ilSoapAdministration | |
| const | NUSOAP = 1 |
| const | PHP5 = 2 |
| int | $error_method |
| Defines type of error handling (PHP5 || NUSOAP) More... | |
Protected Member Functions inherited from ilSoapAdministration | |
| checkSession (string $sid) | |
| explodeSid (string $sid) | |
| setMessage (string $a_str) | |
| initAuth (string $sid) | |
| initIlias () | |
| initAuthenticationObject () | |
| raiseError (string $a_message, $a_code) | |
| checkObjectAccess (int $ref_id, array $expected_type, string $permission, bool $returnObject=false) | |
| check access for ref id: expected type, permission, return object instance if returnobject is true More... | |
Protected Attributes inherited from ilSoapAdministration | |
| bool | $soap_check = true |
| string | $message = '' |
| string | $message_code = '' |
Soap rbac administration methods.
Definition at line 30 of file class.ilSoapRBACAdministration.php.
| ilSoapRBACAdministration::addRole | ( | string | $sid, |
| int | $target_id, | ||
| string | $role_xml | ||
| ) |
Definition at line 369 of file class.ilSoapRBACAdministration.php.
References $DIC, $GLOBALS, $target_id, ilObject\_isInTrash(), ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapRBACAdministration::addRoleFromTemplate | ( | string | $sid, |
| int | $target_id, | ||
| string | $role_xml, | ||
| int | $template_id | ||
| ) |
Definition at line 430 of file class.ilSoapRBACAdministration.php.
References $DIC, $GLOBALS, $target_id, ilObject\_isInTrash(), ilObject\_lookupType(), ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\raiseError(), and ROLE_FOLDER_ID.
Here is the call graph for this function:| ilSoapRBACAdministration::addUserRoleEntry | ( | string | $sid, |
| int | $user_id, | ||
| int | $role_id | ||
| ) |
Definition at line 83 of file class.ilSoapRBACAdministration.php.
References $DIC, ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapRBACAdministration::deleteRole | ( | string | $sid, |
| int | $role_id | ||
| ) |
Definition at line 35 of file class.ilSoapRBACAdministration.php.
References $DIC, ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapRBACAdministration::deleteUserRoleEntry | ( | string | $sid, |
| int | $user_id, | ||
| int | $role_id | ||
| ) |
Definition at line 125 of file class.ilSoapRBACAdministration.php.
References $DIC, ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapRBACAdministration::getLocalRoles | ( | string | $sid, |
| int | $ref_id | ||
| ) |
Definition at line 282 of file class.ilSoapRBACAdministration.php.
References $DIC, $ref_id, ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapRBACAdministration::getObjectTreeOperations | ( | string | $sid, |
| int | $ref_id, | ||
| int | $user_id | ||
| ) |
Definition at line 506 of file class.ilSoapRBACAdministration.php.
References $data, $DIC, $ref_id, ilObject\_isInTrash(), ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapRBACAdministration::getOperations | ( | string | $sid | ) |
Definition at line 165 of file class.ilSoapRBACAdministration.php.
References $DIC, ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapRBACAdministration::getRoles | ( | string | $sid, |
| string | $role_type, | ||
| int | $id | ||
| ) |
Definition at line 570 of file class.ilSoapRBACAdministration.php.
References $DIC, $id, $ilDB, $ilUser, $query, $type, ilSoapAdministration\checkSession(), ilDBConstants\FETCHMODE_ASSOC, ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), parseUserID(), ilSoapAdministration\raiseError(), and ROLE_FOLDER_ID.
Here is the call graph for this function:| ilSoapRBACAdministration::getUserRoles | ( | string | $sid, |
| int | $user_id | ||
| ) |
Definition at line 328 of file class.ilSoapRBACAdministration.php.
References $DIC, ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:| ilSoapRBACAdministration::grantPermissions | ( | string | $sid, |
| int | $ref_id, | ||
| int | $role_id, | ||
| array | $permissions | ||
| ) |
Definition at line 231 of file class.ilSoapRBACAdministration.php.
References $DIC, $ref_id, ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilSoapAdministration\raiseError().
Here is the call graph for this function:
|
private |
Definition at line 759 of file class.ilSoapRBACAdministration.php.
References $id, ilUtil\__extractId(), ilObjUser\_lookupId(), IL_INST_ID, and ilSoapAdministration\raiseError().
Referenced by getRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSoapRBACAdministration::revokePermissions | ( | string | $sid, |
| int | $ref_id, | ||
| int | $role_id | ||
| ) |
Definition at line 188 of file class.ilSoapRBACAdministration.php.
References $DIC, $ref_id, ilSoapAdministration\checkSession(), ilObjectFactory\getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilSoapAdministration\raiseError(), and SYSTEM_ROLE_ID.
Here is the call graph for this function:| ilSoapRBACAdministration::searchRoles | ( | string | $sid, |
| string | $key, | ||
| string | $combination, | ||
| string | $role_type | ||
| ) |
search for roles.
| string | $role_type | can be empty which means "local & global", "local", "global", "user" = roles of user, "user_login" or "template" |
Definition at line 688 of file class.ilSoapRBACAdministration.php.
References $DIC, $ilDB, $ilUser, ILIAS\LTI\ToolProvider\$key, $res, ilObjectSearchFactory\_getObjectSearchInstance(), ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\getMessageCode(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), ilQueryParser\QP_COMBINATION_AND, ilQueryParser\QP_COMBINATION_OR, ilSoapAdministration\raiseError(), and ROOT_FOLDER_ID.
Here is the call graph for this function: