Where everything lives
Open File Storage from the left menu under Storage. It is a single page with lazy tabs — switching tabs never reloads the page, and each tab loads its content the first time you open it.
| Tab | What it shows |
|---|---|
| My Files | Your personal folders and files — where you upload, organize, and version. |
| Team Spaces | Shared, tenant-owned workspaces your department or team collaborates in. |
| Shared with Me | Files and folders other people (or the whole company) have granted you access to. |
| Recent | Files you have recently opened or changed, newest first. |
| Starred | Items you have flagged as favorites for quick return. |
| Trash | Soft-deleted items awaiting restore or eventual safe-purge. |
| Activity | An audit-backed feed of what happened to files you can see. |
Uploading & versioning
Upload files
Uploads are validated on intake using ERPat's existing extension, MIME, and magic-byte checks, then stored through the standard local or AWS S3 pipeline as private objects. You need the file_storage_create permission (or contributor-and-above access to the target folder/space).
- Open My Files (or a Team Space folder you can contribute to).
- Navigate into the folder that should hold the file.
- Drag files onto the file list, or use the Upload button and pick files.
- Wait for each upload to finish — an upload session is created and the upload pipeline finalizes it (typically within a minute).
- The file appears in the folder once processing completes.
Add a new version
Versions are immutable — every save is kept and pointed at its own stored object, so nothing is overwritten and you can always look back. You need contributor/editor-level access to the file.
- Open the file (or its actions menu).
- Choose Upload new version and select the updated file.
- The new upload becomes the current version; the previous one is retained in history.
Restore an older version
- Open the file and view its Version history.
- Find the version you want and choose Restore.
- That version becomes current — the restore is itself recorded as a new current version, so no history is lost.
Organizing files
Create a folder
- In My Files or a space, open the folder you want the new folder inside.
- Choose New folder, name it, and confirm.
Rename an item
- Open the item's actions menu.
- Choose Rename, type the new name, and save.
Move an item
- Open the item's actions menu and choose Move (or drag it onto a folder).
- Pick the destination folder or space and confirm.
Star / favorite an item
- Click the star on any file or folder.
- It appears under the Starred tab for quick access. Click the star again to remove it.
Trash & restore
Deleting is soft-delete first — items are recoverable and are only ever permanently removed later by the reference-aware safe-purge job (which is blocked while a file is still in use, is a current version, is under retention, or is on legal hold).
- Delete: open the item's actions menu and choose Trash — it moves to the Trash tab.
- Restore: open the Trash tab, find the item, and choose Restore — it returns to its original location.
Shared with Me
The Shared with Me tab collects everything others have granted you — whether the grant was made to you directly, to a group you belong to, to your department, or to the whole tenant (company). What you can do with each item depends on the role you were given (see sharing roles).
- Open the Shared with Me tab.
- Browse the shared items; open one to preview, download, comment, or edit as your role allows.
- Star anything you return to often so it also shows under Starred.
Team Spaces
Team Spaces are tenant-owned shared workspaces — they belong to the company, not to an individual, so files survive staff changes. Every space must always have at least two managers, and department membership can be synced automatically (a daily membership-sync job keeps space membership aligned with department membership).
Create a space
Requires the file_storage_create_space permission.
- Open Team Spaces from the left menu and choose Create team space at the top of the space list.
- Name the space and describe its purpose.
- Assign at least two managers (required) and add initial members.
- Optionally link a department so membership syncs automatically.
- Save — the space appears in the Team Spaces list.
Manage membership
Requires file_storage_manage_space (space managers).
- Open the space and go to its members/settings.
- Add or remove members and set each person's role.
- Keep two or more managers at all times — the space will not let you drop below two.
Browse & work in a space
- Open Team Spaces from the left menu and pick a space from the list on the left — it stays visible, so you can jump straight to any other space’s folders without going back.
- Navigate its folders; upload, version, comment, and share as your role permits.
Comments
Comments let your team discuss a file in place. You need at least commenter-level access.
- Open a file.
- Open its Comments panel.
- Type your comment and post it — it is attached to the file and visible to others who can see it.
Sharing internally (roles)
Internal sharing grants another ERPat user, group, department, or the whole tenant access to a file or folder. Access is role-based and computed server-side, and it inherits through folders and spaces. Requires the file_storage_share_internal permission; changing who has access to an item requires file_storage_manage_permissions.
| Role | What it allows (each row adds to the ones above) |
|---|---|
| Viewer | Preview and download. |
| Commenter | Everything a viewer can do, plus post comments. |
| Contributor | Upload files and add new versions. |
| Editor | Rename, move, and organize items. |
| Manager | Manage access (grant and change others' permissions). |
| Owner | Full control of the item. |
| Upload-only | Special role for file requests — can add files but not see existing contents (see below). |
Share a file internally
- Open the item's actions menu and choose Share.
- Pick the recipient — a person, group, department, or the whole company.
- Choose the role to grant (viewer through manager).
- Save — the recipient sees it under Shared with Me.
Sharing externally (secure links)
External links let people outside ERPat reach a file through a public landing page. Links are engineered to be safe: only a SHA-256 hash of the token is stored (never the token itself), and every guard below is optional and combinable. Requires the file_storage_share_external permission.
| Control | What it does |
|---|---|
| Scope | Who the link is for — restricted, tenant, specific external recipients, anyone with the link, or upload-only. |
| Expiry | A date/time after which the link stops working (enforced by the access-expirer job). |
| Password | An Argon2id-hashed password the visitor must enter before access. |
| Email OTP | A one-time code emailed to the visitor to verify their address before access. |
| Max opens | A hard cap on how many times the link may be opened, counted atomically so it cannot be exceeded. |
| Download on/off | Whether the visitor may download the file or only view it. |
Create an external link
- Open the file's actions menu and choose Create link.
- Pick the scope (restricted, tenant, external recipients, anyone, or upload-only).
- Optionally set an expiry, a password, email OTP, and a max-opens cap.
- Choose whether download is allowed or view-only.
- Save and copy the generated link to send it.
Upload-only file requests
A file request is a link that lets someone send you files without seeing anything else — ideal for collecting documents from clients or new hires. It uses the upload-only role/scope, so the visitor can add files but cannot browse existing contents. Requires the file_storage_create_file_request permission.
- Choose the destination folder or space that should receive the files.
- Create an upload-only share/file request for that destination.
- Optionally add an expiry, password, or email OTP as with any external link.
- Send the link — the recipient lands on a public upload page and submits files, which arrive in your destination folder.
Recent & Starred
These two tabs are shortcuts to what matters right now.
- Recent — files you have recently opened or changed, newest first, so you can pick up where you left off.
- Starred — everything you have starred, from any folder or space, in one place. Add or remove a star from any file or folder's star control.