OC-2859: Fix bug: Unshare option shouldn't appear in non-shared files/folders