You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problematic behavior
When a user with editor permissions (not the owner) creates a subdocument within a document and then deletes it, the subdocument does not appear in their trash. This behavior is inconsistent with what he is prompted in the delete modal.
Expected behavior/code
Any subdocument created by a user, even within a document they only have editor permissions for, should be treated as their property. Deleting such a subdocument should move it to the user's trash.
Steps to Reproduce
User A owns a document.
User B (editor) creates a subdocument within User A's document.
User B deletes the subdocument they created.
The deleted subdocument does not appear in User B's trash.
Environment
Docs version: 5.4.1
Instance URL: docs.numerique.gouv.fr
Possible Solution
The system should recognize that subdocuments created by a user are their property, regardless of their role in the parent document. Deleting such subdocuments should move them to the user's trash.
Additional context/Screenshots
This issue affects users who are not owners but have editor permissions.
Clarifying ownership rules for subdocuments created by editors could resolve this inconsistency.
Bug Report
Problematic behavior
When a user with editor permissions (not the owner) creates a subdocument within a document and then deletes it, the subdocument does not appear in their trash. This behavior is inconsistent with what he is prompted in the delete modal.
Expected behavior/code
Any subdocument created by a user, even within a document they only have editor permissions for, should be treated as their property. Deleting such a subdocument should move it to the user's trash.
Steps to Reproduce
Environment
Possible Solution
The system should recognize that subdocuments created by a user are their property, regardless of their role in the parent document. Deleting such subdocuments should move them to the user's trash.
Additional context/Screenshots
Capture.video.du.2026-08-08.09-49-57.webm