collaborators Add `isPrivateResourceByCollaborators` utility to correctly handle collaborator deduplication for inherited permissions and update related modules to use the new helper.