Enables scripted content fragments to use NodePermissions
Methods
Get
Gets a permission for the accessing user
Usage
#set($permissionEntryResponse = $core_v2_nodePermission.Get($permissionId))
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| permissionId | string | Permission Id | Required | | |
Return Type
PermissionEntry
Get
Gets a permission for the accessing user
Usage
#set($permissionEntryResponse = $core_v2_nodePermission.Get($application, $applicationId, $permissionId))
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| application | string | Application | Required | | |
| applicationId | int | Application Id | Required | | |
| permissionId | string | Permission Id | Required | | |
Return Type
PermissionEntry
Get
Gets a permission for the accessing user
Usage
#set($permissionEntryResponse = $core_v2_nodePermission.Get($application, $applicationId, $permissionId, "%{PostId = $postIdArg, PostType = $postTypeArg}"))Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| application | string | Application | Required | | |
| applicationId | int | Application Id | Required | | |
| permissionId | string | Permission Id | Required | | |
| PostId | int | Post Id | Optional | | |
| PostType | string | Post Type | Optional | | |
Return Type
PermissionEntry