|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Collaboration diagram for sspmod_core_ACL:Public Member Functions | |
| __construct ($acl) | |
| Initializer for this access control list. More... | |
| allows (array $attributes) | |
| Match the attributes against the access control list. More... | |
Static Private Member Functions | |
| static | getById ($id) |
| Retrieve an access control list with the given id. More... | |
| static | match (array $attributes, array $rule) |
| Match the attributes against the given rule. More... | |
| static | opAnd ($attributes, $rule) |
| 'and' match operator. More... | |
| static | opEquals ($attributes, $rule) |
| 'equals' match operator. More... | |
| static | opEqualsPreg ($attributes, $rule) |
| 'equals-preg' match operator. More... | |
| static | opHas ($attributes, $rule) |
| 'has' match operator. More... | |
| static | opHasPreg ($attributes, $rule) |
| 'has-preg' match operator. More... | |
| static | opOr ($attributes, $rule) |
| 'or' match operator. More... | |
Private Attributes | |
| $acl | |
| sspmod_core_ACL::__construct | ( | $acl | ) |
Initializer for this access control list.
| array | string | $acl | The access control list. |
Definition at line 23 of file ACL.php.
References $acl, $action, $rule, and getById().
Here is the call graph for this function:| sspmod_core_ACL::allows | ( | array | $attributes | ) |
Match the attributes against the access control list.
| array | $attributes | The attributes of an user. |
Definition at line 73 of file ACL.php.
References $action, $attributes, and $rule.
|
staticprivate |
Retrieve an access control list with the given id.
| string | $id | The id of the access control list. |
Definition at line 55 of file ACL.php.
References $config, $id, and SimpleSAML_Configuration\getOptionalConfig().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Match the attributes against the given rule.
| array | $attributes | The attributes of an user. |
| array | $rule | The rule we should check. |
Definition at line 98 of file ACL.php.
References $attributes, $rule, match(), opAnd(), opEquals(), opEqualsPreg(), opHas(), opHasPreg(), and opOr().
Referenced by match().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
'and' match operator.
| array | $attributes | The attributes of an user. |
| array | $rule | The rule we should check. |
Definition at line 134 of file ACL.php.
References $attributes, and $rule.
Referenced by match().
Here is the caller graph for this function:
|
staticprivate |
'equals' match operator.
| array | $attributes | The attributes of an user. |
| array | $rule | The rule we should check. |
Definition at line 154 of file ACL.php.
References $attributes, $i, and $rule.
Referenced by match().
Here is the caller graph for this function:
|
staticprivate |
'equals-preg' match operator.
| array | $attributes | The attributes of an user. |
| array | $rule | The rule we should check. |
Definition at line 195 of file ACL.php.
References $attributes, $i, and $rule.
Referenced by match().
Here is the caller graph for this function:
|
staticprivate |
'has' match operator.
| array | $attributes | The attributes of an user. |
| array | $rule | The rule we should check. |
Definition at line 237 of file ACL.php.
References $attributes, and $rule.
Referenced by match().
Here is the caller graph for this function:
|
staticprivate |
'has-preg' match operator.
| array | $attributes | The attributes of an user. |
| array | $rule | The rule we should check. |
Definition at line 265 of file ACL.php.
References $attributes, and $rule.
Referenced by match().
Here is the caller graph for this function:
|
staticprivate |
'or' match operator.
| array | $attributes | The attributes of an user. |
| array | $rule | The rule we should check. |
Definition at line 294 of file ACL.php.
References $attributes, and $rule.
Referenced by match().
Here is the caller graph for this function:
|
private |
Definition at line 15 of file ACL.php.
Referenced by __construct().