Permissões
Listar permissões da função RBAC
client.Beta.Organization.RBACRoles.Permissions.List(ctx, rbacRoleID, query) (*PageCursor[BetaRBACRolePermission], error)Lista as permissões concedidas por uma função RBAC.
Models
type BetaRBACAllConnectorsPermissionResource struct { Type: "all_connectors" }
Type AllConnectorsKind of resource the permission applies to.
Kind of resource the permission applies to.
type BetaRBACConnectorPermissionResource struct { Type: "connector"; ConnectorID }
Type ConnectorKind of resource the permission applies to.
Kind of resource the permission applies to.
ID of the connector the permission applies to.
type BetaRBACConnectorScopePermissionResource struct { Type: "connector_scope"; ConnectorID; Scope }
Type ConnectorScopeKind of resource the permission applies to.
Kind of resource the permission applies to.
ID of the connector the permission applies to.
Scope stringOAuth scope the permission names — the role may receive this scope when
tokens are minted for the connector.
OAuth scope the permission names — the role may receive this scope when tokens are minted for the connector.
Subject to the same encoding rule as tool_name: a scope containing
characters outside [a-zA-Z0-9_-] (or colliding with a reserved form)
appears server-encoded in a stable {prefix}_{32-hex} form. OAuth
scopes routinely contain : and /, so most appear encoded.
type BetaRBACConnectorToolPermissionResource struct { Type: "connector_tool"; ConnectorID; ToolName }
Type ConnectorToolKind of resource the permission applies to.
Kind of resource the permission applies to.
ID of the connector the permission applies to.
ToolName stringPublished name of the connector tool the permission applies to.
Published name of the connector tool the permission applies to.
When the published name contains characters outside [a-zA-Z0-9_-] (or
collides with a reserved form), it is server-encoded into a stable
{prefix}_{32-hex} form — a shortened readable prefix of the name plus
a hash — from which the published name is not recoverable.
type BetaRBACOrganizationPermissionResource struct { Type: "organization"; OrganizationID }
Type OrganizationKind of resource the permission applies to.
Kind of resource the permission applies to.
UUID of the organization the permission applies to.