(frontend) enhance document sharing and access management

- Introduced new utility functions for managing document sharing,
including `searchUserToInviteToDoc`, `addMemberToDoc`, and
`updateShareLink`.
- Updated existing tests to verify inherited share access and link
visibility features.
- Refactored document access handling in tests to improve clarity and
maintainability.
- Added comprehensive tests for inherited share functionalities,
ensuring proper role and access management for subpages.
This commit is contained in:
Nathan Panchout
2025-05-19 09:03:00 +02:00
committed by Anthony LC
parent 510d6c3ff1
commit 17ece3b715
9 changed files with 563 additions and 71 deletions

View File

@@ -170,6 +170,7 @@ test.describe('Document grid item options', () => {
link_reach: 'restricted',
created_at: '2021-09-01T09:00:00Z',
user_roles: ['editor'],
user_role: 'editor',
},
],
},