Files and Sharing
The File Manager service provides shared file and folder behavior used by multiple QTO ERP modules.
Folders
Section titled “Folders”Folders support:
- Folder name and description
- Folder type
- Parent/child folder hierarchy
- Storage path
- Created-by tracking
- Active/deleted state
- Soft delete
- Owner permission creation
Folders create storage directories automatically where the configured storage backend supports it.
Files support:
- Original filename
- Storage key/path
- Extension and MIME type
- File size
- Category
- Storage backend
- Checksum
- Folder relationship
- Uploaded-by tracking
- Download count
- Metadata
- Active/deleted state
File categories are derived from the file extension when possible.
Sharing and permissions
Section titled “Sharing and permissions”File permissions can apply to a folder or a file. Permission records support:
| Permission | Access |
|---|---|
| Read | View and download. |
| Write | Read, edit, upload, and delete where allowed. |
| Share | Write-level access plus sharing. |
| Admin | Full file/folder access. |
Shares can be direct user permissions, public links, or password-protected links. Public shares can include expiration dates, download limits, optional notes, and download visibility settings.
Access behavior
Section titled “Access behavior”Owners always have access. Direct permissions are checked first, then inherited folder permissions.
Public link access is allowed only when the public permission is active, not expired, and within download limits.
Utilities
Section titled “Utilities”The service includes an upload endpoint, public share access, and storage statistics.