app.access_review_items
TablaSeguridad a nivel de fila activa
One role assignment to confirm or remove in an access review campaign (Section 8.4). Taken when the campaign opens; decided once. Removed ends the role at once.
Clave primaria: id
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.access_review_campaigns on insert; never accepted from the caller and never changed.Hace referencia a app.organizations.id |
| access_review_campaign_id | uuid | No | Campaign the item belongs to.Hace referencia a app.access_review_campaigns.id |
| membership_role_id | uuid | No | Role assignment under review.Hace referencia a app.membership_roles.id |
| decision | text | Sí | Confirmed or Removed; NULL while unreviewed. Final once set. |
| decided_by | uuid | Sí | Reviewer, from the session; NULL for an automatic removal of unreviewed access.Hace referencia a app.people.id |
| decided_at | timestamp with time zone | Sí | When the decision was recorded. |
| flagged_at | timestamp with time zone | Sí | When the item was flagged as unreviewed after the grace period; NULL until then. |
| deleted_at | timestamp with time zone | Sí | 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 | Sí | Person who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Sí | Person who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id |