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/56738/head
parent
816d9ef96f
commit
a2920dc7a9
Loading…
Reference in New Issue