🛂(frontend) only owner can make a child doc a main doc

We get some side effects when an admin
tries to make a child doc a main doc.
We ensure that only the owner can do this.
This commit is contained in:
Anthony LC
2025-07-09 11:43:21 +02:00
parent d15285d385
commit cd366213ca
8 changed files with 65 additions and 12 deletions

View File

@@ -158,7 +158,7 @@ test.describe('Doc grid dnd', () => {
await expect(dragOverlay).toBeVisible();
await expect(dragOverlay).toHaveText(
'You must have admin rights to move the document',
'You must be the owner to move the document',
);
await page.mouse.up();