|
Squiz Matrix
4.12.2
|
Public Member Functions | |
| __construct ($assetid=0) | |
| getFunctionList () | |
| HasAccess ($request) | |
| SetPermission ($request) | |
| GetPermission ($request) | |
| GetRole ($request) | |
| SetRole ($request) | |
Static Public Member Functions | |
| static | getComplexElements ($func_list=Array()) |
| static | getComplexTypes ($func_list=Array()) |
| static | getSimpleRestrictedTypes ($func_list=Array()) |
Definition at line 31 of file soap_api_permission_role_service.inc.
| __construct | ( | $assetid = 0 | ) |
Constructor
| int | $assetid | the asset id to be loaded |
Definition at line 41 of file soap_api_permission_role_service.inc.
|
static |
getComplexType
Definition at line 400 of file soap_api_permission_role_service.inc.
|
static |
getComplexTypes: return all the complex types used by the API
Definition at line 486 of file soap_api_permission_role_service.inc.
| getFunctionList | ( | ) |
Returns a function list of the asset let the children handle this
Definition at line 55 of file soap_api_permission_role_service.inc.
| GetPermission | ( | $request | ) |
Description: This operation will return the permission set for on an asset
| array | $asset_info | the info array to find children of a specific asset
Array (
'AssetID' => [The asset in query],
'PermissionLevel' => [Read Write Admin],
'Granted' => [Apply, Deny, Revoke],
'AndGreater' => [Check for effective permission (write = read + write)],
'ExpandGroups' => [Return userids inside a group instead just groupid],
'AllInfo' => [Apply, Deny, Revoke],
)
|
Definition at line 184 of file soap_api_permission_role_service.inc.
| GetRole | ( | $request | ) |
Description: This operation will return an array of roles and the users/groups which can perform it
| array | $asset_info | the info array to find children of a specific asset
Array (
'AssetID' => [The assetid of the asset the role is applied to],
'RoleID' => [The assetid of the the role that is applied],
'UserID' => [The assetid of the user performing the role],
'IncludeAssetID' => [Whether to include the assetid in the returned array],
'IncludeGlobals' => [Whether to query the role view which includes expanded global roles as individual users],
'IncludeDependants' => [If false it will filter out the dependant assets],
'ExpandGroups' => [when TRUE, any groups defined within a role will be replaced with the userids in that group]
)
|
Definition at line 238 of file soap_api_permission_role_service.inc.
|
static |
getSimpleRestrictedTypes
Definition at line 518 of file soap_api_permission_role_service.inc.
| HasAccess | ( | $request | ) |
Description: This operation will check whether the requesting user have a certain access level to a particular asset
| array | $request | The request information
Array (
'AssetID' => [type code of new asset],
'PermissionLevel' => [name for new asset],
)
|
Definition at line 82 of file soap_api_permission_role_service.inc.
| SetPermission | ( | $request | ) |
Description: This operation will set the permission for a user on an asset
| array | $asset_info | the info array to find children of a specific asset
Array (
'AssetID' => [The asset in query],
'UserID' => [The user which the permission is applying for],
'PermissionLevel' => [Read Write Admin],
'Grant' => [Apply, Deny, Revoke],
'Cascade' => [Whether to cascade permission down to children],
)
|
Definition at line 119 of file soap_api_permission_role_service.inc.
| SetRole | ( | $request | ) |
Description: This operation will set role for an user to perform on an asset.
| array | $asset_info | the info array to find children of a specific asset
Array (
'AssetID' => [The assetid of the asset the role is applied to],
'RoleID' => [The assetid of the the role that is applied],
'UserID' => [The assetid of the user performing the role],
'Action' => [Add | Delete Role],
'GlobalRole' => [Global or non-global role],
'Cascade' => [Whether to cascade the role down to children],
)
|
Definition at line 301 of file soap_api_permission_role_service.inc.