Description
This PR hides the rename action for EDITOR users on parent items they were invited to. It also fixes the preview of shared items after renaming them.
Related Issues
--
Related Pull Requests
--
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed
Testing Process
- Go to Shared > Right click to an item where you have an EDITOR role > notice that the Rename action has been removed/hidden.
- Go to Shared > double click on a folder where you have an EDITOR role > rename an item > open the preview
- Go to Shared > double click on a folder where you have an EDITOR role > open the preview for one file > rename the item > the preview still works