Merged
Conversation
06ca1b5 to
8e9f8e5
Compare
Contributor
|
are you emptying |
Contributor
|
Once this PR is merged, update this repo please https://github.com/cozy/cozy-doctypes since we're updating a "lot" the io.cozy.files doctype. |
Contributor
Author
nope, it will stay there until it is overwritten during the next "delete". |
taratatach
reviewed
Apr 7, 2026
6482700 to
460e3c6
Compare
taratatach
approved these changes
Apr 7, 2026
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.
Summary
POST /sharings/drivesto create a new shared drive directlyorg_driveso clients can distinguish organization "shared drives"cozyMetadataChanges
Add
org_drivefor organization-backed drivesShared drives created from an organization instance are now marked with the
org_driveflag.This includes:
Instance.IsOrganizationInstance()helperorg_driveon sharing payloadsTrack trash actors in
cozyMetadataWhen a file or folder is moved to trash, the stack now stores:
trashedAttrashedBytrashedByis typed and currently supports:kind: "member"kind: "anonymous-share"For member actors, the payload also includes:
displayNamedomainThis metadata is resolved in middleware and then written by the files layer, so the metadata is preserved across normal access, shared-drive access, and replication flows.