fix(files_sharing): Hide 'Open locally' action
This patch ensures that the "Open locally" context menu item is not displayed for files in a share where the "download and sync" permission has not been granted. This prevents user confusion, as the action would fail anyway. The fix adds a permission check before rendering the menu item, and adds a corresponding unit test to verify this behavior. Resolves: #54970 Signed-off-by: Fauzan <fauzanfebriann@gmail.com>pull/56737/head
parent
2043e0e140
commit
4b1477dd1b
Loading…
Reference in New Issue