ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Do role assignemnts More...
Static Public Member Functions | |
static | getDefaultRole ($a_server_id) |
Get default global role. More... | |
static | getAllPossibleRoles ($a_server_id) |
Get all assignable roles (used for import parser) More... | |
static | getAttributeNames ($a_server_id) |
get all possible attribute names More... | |
static | getAssignmentsForUpdate ($a_server_id, $a_usr_id, $a_usr_name, $a_usr_data) |
type $ilDB type $rbacadmin type $rbacreview type $ilSetting type $ilLog More... | |
static | getAssignmentsForCreation ($a_server_id, $a_usr_name, $a_usr_data) |
static | callPlugin ($a_plugin_id, $a_user_data) |
Call plugin check if the condition matches. More... | |
Data Fields | |
const | ROLE_ACTION_ASSIGN = 'Assign' |
const | ROLE_ACTION_DEASSIGN = 'Detach' |
Static Protected Member Functions | |
static | getAdditionalPluginAttributes ($a_server_id) |
Fetch additional attributes from plugin. More... | |
static | parseRole ($a_role_id, $a_action) |
Parse role. More... | |
Static Protected Attributes | |
static | $active_plugins = null |
static | $default_role = null |
|
static |
Call plugin check if the condition matches.
object | $a_plugin_id | |
object | $a_user_data |
Definition at line 216 of file class.ilLDAPRoleAssignmentRules.php.
References $ok, and IL_COMP_SERVICE.
Referenced by ilLDAPRoleAssignmentRule\matches().
|
staticprotected |
Fetch additional attributes from plugin.
int | $a_server_id |
Definition at line 256 of file class.ilLDAPRoleAssignmentRules.php.
References $attributes, $ok, array, and IL_COMP_SERVICE.
|
static |
Get all assignable roles (used for import parser)
int | $a_server_id |
Definition at line 60 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLDAPAttributeToUser\refresh().
|
static |
int | $a_server_id | |
object | $a_usr_id | |
object | $a_usr_data | public |
Definition at line 169 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $ilLog, $query, $res, $row, $rule, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilObject\_lookupTitle(), array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilAuthContainerApache\forceCreation(), and ilLDAPAttributeToUser\parseRoleAssignmentsForCreation().
|
static |
type $ilDB type $rbacadmin type $rbacreview type $ilSetting type $ilLog
int | $a_server_id | |
type | $a_usr_id | |
type | $a_usr_name | |
type | $a_usr_data |
Definition at line 114 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $ilLog, $ilSetting, $query, $res, $row, $rule, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilObject\_lookupTitle(), array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLDAPAttributeToUser\parseRoleAssignmentsForUpdate().
|
static |
get all possible attribute names
int | $a_server_id |
Definition at line 81 of file class.ilLDAPRoleAssignmentRules.php.
References $ilDB, $name, $names, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLDAPQuery\fetchUserProfileFields(), and ilLDAPServer\getPearAtributeArray().
|
static |
Get default global role.
int | $a_server_id |
Definition at line 46 of file class.ilLDAPRoleAssignmentRules.php.
References ilLDAPAttributeMapping\_lookupGlobalRole().
|
staticprotected |
Parse role.
int | $a_role_id | |
string | $a_action |
Definition at line 292 of file class.ilLDAPRoleAssignmentRules.php.
References array.
|
staticprotected |
Definition at line 37 of file class.ilLDAPRoleAssignmentRules.php.
|
staticprotected |
Definition at line 38 of file class.ilLDAPRoleAssignmentRules.php.
const ilLDAPRoleAssignmentRules::ROLE_ACTION_ASSIGN = 'Assign' |
Definition at line 34 of file class.ilLDAPRoleAssignmentRules.php.
Referenced by ilAuthContainerApache\forceCreation().
const ilLDAPRoleAssignmentRules::ROLE_ACTION_DEASSIGN = 'Detach' |
Definition at line 35 of file class.ilLDAPRoleAssignmentRules.php.