From 8025e91f1599e63b49918d1eaa800aa5354aed0b Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Tue, 21 Oct 2025 11:46:25 -0500 Subject: [PATCH] fix: change collaborator to contributor --- src/authz-module/data/hooks.test.tsx | 2 +- src/authz-module/libraries-manager/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/authz-module/data/hooks.test.tsx b/src/authz-module/data/hooks.test.tsx index 79fafc43..fbe4e582 100644 --- a/src/authz-module/data/hooks.test.tsx +++ b/src/authz-module/data/hooks.test.tsx @@ -19,7 +19,7 @@ const mockMembers = [ fullName: 'Bob', username: 'user2', email: 'bob@example.com', - roles: ['collaborator'], + roles: ['contributor'], }, ]; diff --git a/src/authz-module/libraries-manager/constants.ts b/src/authz-module/libraries-manager/constants.ts index 7b3686e2..60fdf45d 100644 --- a/src/authz-module/libraries-manager/constants.ts +++ b/src/authz-module/libraries-manager/constants.ts @@ -5,7 +5,7 @@ import { PermissionMetadata, ResourceMetadata, RoleMetadata } from 'types'; export const libraryRolesMetadata: RoleMetadata[] = [ { role: 'library_admin', name: 'Library Admin', description: 'The Library Admin has full control over the library, including managing users, modifying content, and handling publishing workflows. They ensure content is properly maintained and accessible as needed.' }, { role: 'library_author', name: 'Library Author', description: 'The Library Author is responsible for creating, editing, and publishing content within a library. They can manage tags and collections but cannot delete libraries or manage users.' }, - { role: 'library_collaborator', name: 'Library Collaborator', description: 'The Library Collaborator can create and edit content within a library but cannot publish it. They support the authoring process while leaving final publishing to Authors or Admins.' }, + { role: 'library_contributor', name: 'Library Contributor', description: 'The Library Contributor can create and edit content within a library but cannot publish it. They support the authoring process while leaving final publishing to Authors or Admins.' }, { role: 'library_user', name: 'Library User', description: 'The Library User can view and reuse content but cannot edit or delete any resource.' }, ];