Skip to content

Restating a viewable value: single-operation DELETE/INSERT skips the modify check the multi-operation form applies #2065

Open

Description

@bplatz

Under a non-root policy, for a stored value the identity can view but not modify:

  • DELETE { x } INSERT { x } WHERE { … } in one operation commits nothing with no modify check (the retraction and assertion cancel; restating a viewable value is not judged);
  • DELETE DATA { x } ; INSERT DATA { x } as two operations of one request modify-checks the first operation's retraction and is refused.

Both leave the ledger unchanged, so one of the two answers is wrong. Predates #2008 (found while reviewing it); the multi-operation path is the stricter one, so it is not a bypass. Decide which answer is intended and make the other path match.

Activity

  1. added
    bug
    P3
    area:transact
    on Oct 11, 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

    P3area:transactbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions