|
ILIAS
release_8 Revision v8.24
|
Access handler for portfolio NOTE: This file needs to stay in the classes directory, WAC will be confused otherwise. More...
Inheritance diagram for ilPortfolioAccessHandler:
Collaboration diagram for ilPortfolioAccessHandler:Public Member Functions | |
| __construct () | |
| checkAccess (string $a_permission, string $a_cmd, int $a_node_id, string $a_type="") | |
| check access for an object More... | |
| checkAccessOfUser (int $a_user_id, string $a_permission, string $a_cmd, int $a_node_id, string $a_type="") | |
| check access for an object More... | |
| setPermissions (int $a_parent_node_id, int $a_node_id) | |
| Set permissions after creating node/object. More... | |
| addPermission (int $a_node_id, int $a_object_id, string $a_extended_data=null) | |
| Add permission to node for object. More... | |
| removePermission (int $a_node_id, int $a_object_id=null) | |
| Remove permission[s] (for object) to node. More... | |
| getPermissions (int $a_node_id) | |
| Get all permissions to node. More... | |
| hasRegisteredPermission (int $a_node_id) | |
| hasGlobalPermission (int $a_node_id) | |
| hasGlobalPasswordPermission (int $a_node_id) | |
| getObjectsIShare (bool $a_online_only=true) | |
| getSharedOwners () | |
| getSharedObjects (int $a_owner_id) | |
| getShardObjectsDataForUserIds (array $a_owner_ids) | |
| findSharedObjects (array $a_filter=null, array $a_crs_ids=null, array $a_grp_ids=null) | |
| canBeDelivered (ilWACPath $ilWACPath) | |
| WAC check. More... | |
| editPortfolios () | |
| Is portfolio editing (general feature) enabled. More... | |
| canBeDelivered (ilWACPath $ilWACPath) | |
Static Public Member Functions | |
| static | _getPermissions (int $a_node_id) |
| Get all permissions to node. More... | |
| static | getPossibleSharedTargets () |
| static | getSharedNodePassword (int $a_node_id) |
| static | keepSharedSessionPassword (int $a_node_id, string $a_password) |
| static | getSharedSessionPassword (int $a_node_id) |
Protected Member Functions | |
| syncProfile (int $a_node_id) | |
Protected Attributes | |
| AccessSessionRepository | $session_repo |
| ilLanguage | $lng |
| ilObjUser | $user |
| ilRbacReview | $rbacreview |
| ilSetting | $settings |
| ilDBInterface | $db |
| ilAccessHandler | $access |
Access handler for portfolio NOTE: This file needs to stay in the classes directory, WAC will be confused otherwise.
Definition at line 26 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::__construct | ( | ) |
Definition at line 36 of file class.ilPortfolioAccessHandler.php.
References $DIC, $lng, ILIAS\Repository\access(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Get all permissions to node.
Definition at line 251 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::addPermission | ( | int | $a_node_id, |
| int | $a_object_id, | ||
| string | $a_extended_data = null |
||
| ) |
Add permission to node for object.
Definition at line 189 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::canBeDelivered | ( | ilWACPath | $ilWACPath | ) |
WAC check.
Implements ilWACCheckingClass.
Definition at line 591 of file class.ilPortfolioAccessHandler.php.
References $ilUser, $ref_id, $results, ilObject\_getAllReferences(), and ilObject\_lookupType().
Here is the call graph for this function:| ilPortfolioAccessHandler::checkAccess | ( | string | $a_permission, |
| string | $a_cmd, | ||
| int | $a_node_id, | ||
| string | $a_type = "" |
||
| ) |
check access for an object
Definition at line 57 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::checkAccessOfUser | ( | int | $a_user_id, |
| string | $a_permission, | ||
| string | $a_cmd, | ||
| int | $a_node_id, | ||
| string | $a_type = "" |
||
| ) |
check access for an object
Definition at line 71 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::editPortfolios | ( | ) |
Is portfolio editing (general feature) enabled.
Definition at line 621 of file class.ilPortfolioAccessHandler.php.
References ILIAS\Repository\settings().
Here is the call graph for this function:| ilPortfolioAccessHandler::findSharedObjects | ( | array | $a_filter = null, |
| array | $a_crs_ids = null, |
||
| array | $a_grp_ids = null |
||
| ) |
Definition at line 416 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::getObjectsIShare | ( | bool | $a_online_only = true | ) |
Definition at line 300 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::getPermissions | ( | int | $a_node_id | ) |
Get all permissions to node.
Definition at line 243 of file class.ilPortfolioAccessHandler.php.
|
static |
Definition at line 326 of file class.ilPortfolioAccessHandler.php.
References $DIC, $ilUser, ilParticipants\_getMembershipByType(), ilWorkspaceAccessGUI\PERMISSION_ALL, ilWorkspaceAccessGUI\PERMISSION_ALL_PASSWORD, and ilWorkspaceAccessGUI\PERMISSION_REGISTERED.
Here is the call graph for this function:| ilPortfolioAccessHandler::getShardObjectsDataForUserIds | ( | array | $a_owner_ids | ) |
Definition at line 393 of file class.ilPortfolioAccessHandler.php.
|
static |
Definition at line 517 of file class.ilPortfolioAccessHandler.php.
References $res.
Referenced by ilSharedResourceGUI\checkPassword().
Here is the caller graph for this function:| ilPortfolioAccessHandler::getSharedObjects | ( | int | $a_owner_id | ) |
Definition at line 371 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::getSharedOwners | ( | ) |
Definition at line 344 of file class.ilPortfolioAccessHandler.php.
|
static |
Definition at line 546 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::hasGlobalPasswordPermission | ( | int | $a_node_id | ) |
Definition at line 289 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::hasGlobalPermission | ( | int | $a_node_id | ) |
Definition at line 278 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::hasRegisteredPermission | ( | int | $a_node_id | ) |
Definition at line 267 of file class.ilPortfolioAccessHandler.php.
|
static |
Definition at line 534 of file class.ilPortfolioAccessHandler.php.
Referenced by ilSharedResourceGUI\checkPassword().
Here is the caller graph for this function:| ilPortfolioAccessHandler::removePermission | ( | int | $a_node_id, |
| int | $a_object_id = null |
||
| ) |
Remove permission[s] (for object) to node.
Definition at line 221 of file class.ilPortfolioAccessHandler.php.
| ilPortfolioAccessHandler::setPermissions | ( | int | $a_parent_node_id, |
| int | $a_node_id | ||
| ) |
Set permissions after creating node/object.
| int | $a_parent_node_id | |
| int | $a_node_id |
Definition at line 179 of file class.ilPortfolioAccessHandler.php.
|
protected |
Definition at line 557 of file class.ilPortfolioAccessHandler.php.
References $ilUser, and ilObjPortfolio\setUserDefault().
Here is the call graph for this function:
|
protected |
Definition at line 34 of file class.ilPortfolioAccessHandler.php.
|
protected |
Definition at line 33 of file class.ilPortfolioAccessHandler.php.
|
protected |
Definition at line 29 of file class.ilPortfolioAccessHandler.php.
Referenced by __construct().
|
protected |
Definition at line 31 of file class.ilPortfolioAccessHandler.php.
|
protected |
Definition at line 28 of file class.ilPortfolioAccessHandler.php.
|
protected |
Definition at line 32 of file class.ilPortfolioAccessHandler.php.
|
protected |
Definition at line 30 of file class.ilPortfolioAccessHandler.php.