> ## Documentation Index
> Fetch the complete documentation index at: https://docs.imaracare.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Document Versioning

> Track every revision of your compliance documents with a full version history.

## Overview

Every document in the **Documents & Permits** library now maintains a complete version history. Each time a policy, license, or permit is updated, the previous version is preserved and downloadable so you have an audit trail of every revision.

## Uploading a new version

1. Open **Compliance → Documents & Permits**.
2. Find the document you want to update.
3. Click the **Versions** button (clock icon) on the document row.
4. Click **Upload new version**.
5. Select the updated file (PDF, Word, or image — 10 MB limit).
6. Optionally add a **change summary** describing what changed (e.g., "Updated fire exit routes after renovation").
7. Click **Upload**.

The new version is immediately marked as the current version. All previous versions remain accessible.

## Viewing version history

Click the **Versions** button on any document to expand the version history panel. Each row shows:

* **Version number** (v1, v2, v3…)
* **Current** badge on the active version
* File name and upload date
* Change summary (if provided)
* Download button to retrieve any version

## Downloading older versions

Click the **download icon** on any version row to generate a temporary signed download link. The link expires after 60 seconds for security.

## Who can upload versions

Only users with the **Manager** or **Administrator** role can upload new versions. **Staff** and **Auditor** roles can view and download version history but cannot upload.

<Tip>
  Add a brief change summary every time you upload a new version. This makes it easy to explain to an inspector exactly what changed between versions and when.
</Tip>
