Changes between Initial Version and Version 1 of Ticket #2040


Ignore:
Timestamp:
2013-07-27T01:32:48Z (11 years ago)
Author:
daira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2040

    • Property Keywords mutable versioning test-and-set webapi wui added
    • Property Component changed from unknown to code-mutable
  • Ticket #2040 – Description

    initial v1  
    1 From ticket:413#comment:2
     1Split from ticket:413#comment:2
    22* Dirnode operations could accept a new argument which provides test-and-set semantics, perhaps "if-old-version-is=XYZ". The webapi protocol would only apply the requested changes if the "current best version" is also described as XYZ
    33* The human-oriented "wui" could acquire if-old-version-is= arguments on all the buttons it provides. If the directory has been changed between the time the directory page was rendered and the time someone clicks a button, the operation would be rejected with a note encouraging the user to reload the page (and thus get the latest version).