Skip to content

Commit 3dc91c2

Browse files
virgile-devAntoLC
authored andcommitted
💬(copy) wrong permission mentionned on move doc
To move a doc you have to be at least admin of the destination doc Signed-off-by: virgile-deville <[email protected]>
1 parent 59e8757 commit 3dc91c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/frontend/apps/e2e/__tests__/app-impress/doc-grid-dnd.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ test.describe('Doc grid dnd', () => {
106106

107107
await expect(dragOverlay).toBeVisible();
108108
await expect(dragOverlay).toHaveText(
109-
'You must be at least the editor of the target document',
109+
'You must be at least the administrator of the target document',
110110
);
111111

112112
await page.mouse.up();

src/frontend/apps/impress/src/features/docs/docs-grid/components/DocGridContentList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const DraggableDocGridContentList = ({
141141
return t('You must be the owner to move the document');
142142
}
143143
if (!canDrop) {
144-
return t('You must be at least the editor of the target document');
144+
return t('You must be at least the administrator of the target document');
145145
}
146146

147147
return selectedDoc?.title || t('Unnamed document');

0 commit comments

Comments
 (0)