Skip to content

app.calendar_feeds

TableRow level security on

iCalendar feeds of shifts, meetings, milestones and deadlines (Section 4.6.5), for one member or one of their projects. Only a SHA-256 hash of the secret token is kept; the token is shown once, can be revoked, and the feed shows only what the member may see.

Primary key: id

Columns of app.calendar_feeds
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.memberships on insert; never accepted from the caller and never changed.References app.organizations.id
membership_iduuidNoMember who owns the feed; it shows what they may see.References app.memberships.id
project_iduuidYesProject the feed covers, or null for the member's own feed.References app.projects.id
token_hashbyteaNoSHA-256 of the feed token.
token_hinttextNoLast four characters of the token, to tell feeds apart.
last_accessed_attimestamp with time zoneYesLast time a calendar fetched the feed.
revoked_attimestamp with time zoneYesWhen the feed was revoked; a revoked feed serves nothing.
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
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.
rotated_attimestamp with time zoneYesWhen the token was last replaced; the previous token stopped working then.