Skip to content

cli: drop the other-user write refusal and exit non-zero on 403 #343

In review

Description

@bjornars

novem -u <owner> -p <plot> -w data @file refuses the write before sending any request when -u names another user, even where the caller has a group rw share. The server already admits that write, as a raw --post shows. The early if self.user return in api_write/api_create/api_delete (novem/vis/__init__.py, likewise job, code and sync) should go, so the server's gate decides. A 403 from the server should then map to a non-zero exit.

The same refusal in the Rust CLI is tracked in novem-code/novem-tui#275, now moved to novem-tui. The report there has the full repro.

Activity

  1. added theissue type on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions