app.scim_group_mappings
TableRow level security on
Identity-provider groups mapped to a role, a team or both. SCIM provisioning grants them on join and takes them back when the person leaves the group.
Primary key: id
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.identity_providers on insert; never accepted from the caller and never changed.References app.organizations.id |
| identity_provider_id | uuid | No | Identity provider the group comes from.References app.identity_providers.id |
| idp_group | text | No | Group display name as the identity provider sends it. |
| role_id | uuid | Yes | Role members of the group receive. Never the Owner role.References app.roles.id |
| team_id | uuid | Yes | Team members of the group join.References app.teams.id |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |