Repository navigation
Conversation
With user= set, api_write/api_delete on vis, code and job objects and api_load printed "You cannot modify another user's ..." and sent nothing, though gaia admits the write under a group rw share. They now go to the user-scoped path and the server decides; a refusal raises Novem403 (load counts it as a failed file). Vis writes previously used the caller's own path, so they had to move to users/<owner>/... too. api_create still sends nothing under user=, now silently: gaia refuses every create in another user's namespace whatever the shares grant (same decision as novem-code/novem-tui#326). Dump and load follow gaia's REST changes: - Switches read back as yes/no (gaia#8033 and friends), so yes/true and no/false now compare equal instead of being re-POSTed every load. - notifications gains a DELETE that resets it (gaia#8068). It stays out of the managed set, so loading an older dump won't reset it. - Listings now give each caller its own actions (gaia#8046), so a dump of another user's resource can omit files the owner could delete. Such a dump is marked with a .novem-partial file, and loading a partial dump never deletes remote files. The Python CLI half of novem-code#343 (non-zero exit on 403) no longer applies: the CLI is the native binary, fixed in novem-code/novem-tui#326. Closes novem-code#343 Closes novem-code#345
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With user= set, api_write/api_delete on vis, code and job objects and
api_load printed "You cannot modify another user's ..." and sent
nothing, though gaia admits the write under a group rw share. They now
go to the user-scoped path and the server decides; a refusal raises
Novem403 (load counts it as a failed file). Vis writes previously used
the caller's own path, so they had to move to users//... too.
api_create still sends nothing under user=, now silently: gaia refuses
every create in another user's namespace whatever the shares grant
(same decision as novem-code/novem-tui#326).
Dump and load follow gaia's REST changes:
and no/false now compare equal instead of being re-POSTed every load.
of the managed set, so loading an older dump won't reset it.
of another user's resource can omit files the owner could delete.
Such a dump is marked with a .novem-partial file, and loading a
partial dump never deletes remote files.
The Python CLI half of #343 (non-zero exit on 403) no longer applies:
the CLI is the native binary, fixed in novem-code/novem-tui#326.
Closes #343
Closes #345