Skip to content

Commit 431314e

Browse files
MaferMazuarbrandes
authored andcommitted
fix: change collaborator to contributor
1 parent f6bd291 commit 431314e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/authz-module/data/hooks.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const mockMembers = [
2121
fullName: 'Bob',
2222
username: 'user2',
2323
24-
roles: ['collaborator'],
24+
roles: ['contributor'],
2525
},
2626
];
2727

src/authz-module/libraries-manager/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { PermissionMetadata, ResourceMetadata, RoleMetadata } from 'types';
55
export const libraryRolesMetadata: RoleMetadata[] = [
66
{ 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.' },
77
{ 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.' },
8-
{ 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.' },
8+
{ 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.' },
99
{ role: 'library_user', name: 'Library User', description: 'The Library User can view and reuse content but cannot edit or delete any resource.' },
1010
];
1111

0 commit comments

Comments
 (0)