| Field | Type | Required | Description | Example |
|---|---|---|---|---|
action |
T.nilable(Models::Shared::Action) | ➖ | Permission action to check | read |
email |
T.nilable(::String) | ➖ | User email address. At least one of user_id or email is required. | user@company.com |
resource_id |
::String | ✔️ | Resource identifier — can be a StackOne composite ID (c28xIQ... prefix) or a plain provider ID | C08G6QB90LU |
resource_type |
T.nilable(::String) | ➖ | Resource type (e.g. channel, workspace, file). When omitted, connector may infer from resource_id. | channel |
user_id |
T.nilable(::String) | ➖ | User identifier — can be a StackOne composite ID (encoded prefix) or a plain provider user ID (e.g. Slack U08FW4R4N6S). At least one of user_id or email is required. | U08FW4R4N6S |