Skip to content

app.access_review_campaigns

TableRow level security on

Access review campaigns (Section 8.4): reviewers confirm or remove each member's role. One Active campaign per org; it completes when every item is decided, and deleting an Active campaign cancels it.

Primary key: id

Columns of app.access_review_campaigns
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
nametextNoCampaign name, for example Q4 Access Review.
due_ondateNoDate reviewers are asked to finish by.
auto_remove_unreviewedbooleanNoWhen true, roles still unreviewed after access_reviews.grace_days are removed automatically. Starts from the org setting access_reviews.remove_unreviewed.
campaign_statetextNoActive, Complete (every item decided) or Canceled (deleted while Active). Set by the database.
opened_attimestamp with time zoneNoWhen the campaign opened and its items were taken; the grace period counts from here.
closed_attimestamp with time zoneYesWhen the campaign completed or was canceled; NULL while Active.
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id