GUI-1207: Prevent duplicate grants in sharing panel on bucket details page