Skip to content

Files and Workspaces

Files and workspaces are the main business path in AsterDrive. This area connects the visible file tree with database records, blobs, permissions, quota, and share state.

Capability Boundaries

CapabilityNotesRelated docs
Personal spaceUser-owned files, folders, trash, tasks, quotaUser Manual
Team spaceTeam-owned files, member roles, team archive, team auditTeams and Permissions
Folder treeCreate, rename, move, copy, recursive delete, path buildingCommon Workflows
File recordsFilename conflicts, versions, blob references, lock state, propertiesFile Editing, Architecture Overview
TrashDelete, restore, purge, periodic cleanupUser Manual, System Settings
SharesFile/folder shares, passwords, expiration, download limits, scope checksSharing and Public Access
Batch operationsBatch move, copy, delete, workspace boundary checksUser Manual

Backend Modules

ModuleOwns
workspace::scope, workspace::modelsPersonal/team workspace scope
file, folderFiles, folders, paths, listings, access checks
workspace::storage_core, workspace::storageFile records, blobs, quota, storage-policy finalization
workspace::teamTeams, members, roles, archive
share, share_public routesShare creation, public access, share scope
files::trash, content::version, files::lockTrash, versions, file locks
content::propertyFile/folder extended properties

Data Boundaries

  • File content is not stored directly in the database. The database stores files, folders, blobs, versions, shares, and permission relationships.
  • Personal and team spaces share the same file path, but use different workspace scopes.
  • Team-space files belong to the team and do not charge the operator's personal quota.
  • Share scope must be checked against folder tree and file ownership, not only against the share ID.

Troubleshooting Direction

  • File list looks wrong: confirm the current workspace, trash state, and team archive state.
  • Quota looks wrong: use Operations CLI with doctor --deep.
  • Share link access fails: check expiration, password, deletion state, and whether the file moved outside the share scope.
  • WebDAV and web UI behavior differ: check WebDAV account scope, locks, and system-file blocking rules.

Released under the MIT License