How Document Vault works in Plinth
Admins upload society documents to private storage and control who sees them. Residents browse only published documents marked members visibility. Every publish or visibility change is audited.
Admin: upload a document
- Open Admin → Documents (
/admin/documents). - Tap Upload (or equivalent).
- Enter a title and pick a category: byelaws, minutes, financials, resolutions, certificates, contracts, insurance, sop, or other.
- Choose visibility:
- admins_only — committee and admins only (default for drafts).
- members — eligible for resident access once published.
- Select a file (PDF, JPEG, PNG, WebP, Word, or Excel; max 25 MB).
- Upload — the file goes to the private
documentsbucket; metadata is saved in thedocumentstable.
New uploads start unpublished. Residents cannot see them until you publish.
Admin: publish or change visibility
- Open the document on Admin → Documents.
- Set visibility (admins_only or members).
- Toggle publish on when the file is final.
- Plinth calls
set_document_visibility— the change is logged in the society audit_log.
Rule: Residents see a document only when is_published is true and visibility is members.
Resident: browse and download
- Open Documents (
/documents). - Filter or browse by category.
- Tap a document to download — Plinth issues a 120-second signed URL to the private file.
- Open or save before the link expires; request again if needed.
Residents never see admins_only or unpublished documents, regardless of category.
Admin: update or remove
- Rename the title from the admin view.
- Delete removes the storage object and database record (admin only).
Admin guide · Resident guide · FAQ.