🐛(frontend) hide the sharing method when you don't have the rights

- Added a new hook `useCopyDocLink` to handle copying document links to
the clipboard with success/error notifications.
- Updated the `DocToolBox`, `DocsGridActions`, and `DocShareModal`
components to utilize the new copy link feature.
- Enhanced tests to verify the functionality of the copy link button in
various scenarios.
- Adjusted visibility checks for sharing options based on user access
rights.
This commit is contained in:
Nathan Panchout
2025-01-15 16:03:34 +01:00
committed by Anthony LC
parent de8dea20d5
commit 282200ac3d
15 changed files with 297 additions and 130 deletions

View File

@@ -9,6 +9,10 @@ and this project adheres to
## [Unreleased]
## Fixed
- 🐛(frontend) share modal is shown when you don't have the abilities #557
## [2.0.0] - 2025-01-13
## Added