Skip to content

Block rclone sync/bisync commands for Team workspaces with clear errors #849

Description

@groksrc

Feature / UX Request

Make cloud rclone sync/bisync commands explicitly Personal-workspace-only and block Team/organization workspaces with a clear error.

Team/organization workspaces cannot safely use rclone bisync as a multi-user local mirror. The CLI should make this constraint explicit anywhere users might attempt sync setup or sync execution.

Commands to Review

  • bm cloud sync-setup
  • bm cloud sync
  • bm cloud bisync
  • bm cloud check
  • bm cloud bisync-reset

Expected Behavior

When the target project belongs to a Team/organization workspace, commands should exit before invoking rclone and print a clear message such as:

Local rclone sync/bisync is supported only for Personal workspaces.
Team workspaces are accessed through the cloud API/MCP and do not support local multi-user bisync.
Use `bm project list --workspace <workspace>` to inspect Team projects.

Actual Behavior

The project listing suppresses sync for Team/organization rows, but the cloud sync/bisync command help and command flow do not clearly state or enforce that Team workspaces are unsupported.

Motivation

Without an explicit block, users and agents may assume a Team workspace can be configured with a local sync path and may attempt unsafe or unsupported rclone workflows.

Acceptance Criteria

  • Sync/bisync commands resolve the target workspace/project unambiguously before setup/execution.
  • Team/organization targets produce a clear unsupported-workspace error.
  • Personal workspace sync/bisync behavior remains unchanged.
  • Command help documents the Personal-workspace-only limitation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions