permissions
Creates, updates, deletes, gets or lists a permissions
resource.
Overview
Name | permissions |
Type | Resource |
Id | sumologic.content.permissions |
Fields
The following fields are returned by SELECT
queries:
- getContentPermissions
A list of permissions for the requested content item.
Name | Datatype | Description |
---|---|---|
explicitPermissions | array | Explicitly assigned content permissions. |
implicitPermissions | array | Implicitly inherited content permissions. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getContentPermissions | select | id , region | explicitOnly , isAdminMode | Returns content permissions of a content item with the given identifier. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
id | string | The identifier of the content item. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
explicitOnly | boolean | There are two permission types: explicit and implicit. Permissions specifically assigned to the content item are explicit. Permissions derived from a parent content item, like a folder are implicit. To return only explicit permissions set this to true. |
isAdminMode | string | Set this to "true" if you want to perform the request as a Content Administrator. |
SELECT
examples
- getContentPermissions
Returns content permissions of a content item with the given identifier.
SELECT
explicitPermissions,
implicitPermissions
FROM sumologic.content.permissions
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
AND explicitOnly = '{{ explicitOnly }}'
AND isAdminMode = '{{ isAdminMode }}'
;