ComplianceRolesPermissions
Returns the permissions granted to roles within an organization. Specify RoleId to query one role, or omit it to source role ids from ComplianceRoles automatically. When OrganizationUuid is omitted, the provider uses the connection property or the first organization returned by Organizations.
View-Specific Information
Select
When RoleId is omitted, the connector obtains role Ids from ComplianceRoles and issues one permissions request for each role automatically. An explicit OrganizationUuid is also applied while sourcing the roles. When OrganizationUuid is omitted, the connector uses the OrganizationUUID connection property or the first row returned by Organizations.
The connector uses the Claude Compliance API to process WHERE clause conditions built with the following columns and operators server-side. The rest of the filter, including sorting, grouping, and offsets, is processed client-side within the connector.
- RoleId and OrganizationUuid using =
- LIMIT
SELECT Action FROM ComplianceRolesPermissions WHERE OrganizationUuid = 'abcdef01-2345-6789-abcd-ef0123456789' AND RoleId = 'role_123' LIMIT 100;
SELECT RoleId, Action FROM ComplianceRolesPermissions WHERE OrganizationUuid = 'abcdef01-2345-6789-abcd-ef0123456789' LIMIT 100;
Columns
| Name | Type | Description |
| OrganizationUuid [KEY] | String | The UUID of the organization. When omitted, the provider uses the OrganizationUUID connection property or the first organization returned by Organizations. |
| RoleId [KEY] | String | The identifier of the role. When omitted, the provider sources ids from ComplianceRoles automatically. |
| Action [KEY] | String | The permission action (e.g. compliance:read_activities). |
| ResourceId [KEY] | String | The identifier of the resource the permission applies to. |
| ResourceType [KEY] | String | The type of the resource the permission applies to. |