Skip to content

Commit f2f0627

Browse files
committed
fix: remove extra permissions from libraries metadata
1 parent 9aee1e4 commit f2f0627

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,10 @@ export const libraryResourceTypes: ResourceMetadata[] = [
1717
];
1818

1919
export const libraryPermissions: PermissionMetadata[] = [
20-
{ key: 'create_library', resource: 'library', description: 'Allows the user to create new libraries.' },
21-
{ key: 'edit_library', resource: 'library', description: 'Allows the user to modify library settings and metadata.' },
22-
{ key: 'delete_library', resource: 'library', description: 'Allows the user to delete the library and all its contents.' },
23-
{ key: 'publish_library', resource: 'library', description: 'Publish the library (change from draft mode to published).' },
2420
{ key: 'view_library', resource: 'library', description: 'View content, search, filter, and sort within the library.' },
25-
{
26-
key: 'manage_library_tags', resource: 'library', description: 'Add or remove tags from content.',
27-
},
21+
{ key: 'manage_library_tags', resource: 'library', description: 'Add or remove tags from content.' },
2822

29-
{ key: 'create_library_content', resource: 'library_content', description: 'Create new components or content units.' },
3023
{ key: 'edit_library_content', resource: 'library_content', description: 'Edit content in draft mode' },
31-
{ key: 'delete_library_content', resource: 'library_content', description: 'Delete individual content (not collections).' },
3224
{ key: 'publish_library_content', resource: 'library_content', description: 'Publish content, making it available for reuse' },
3325
{ key: 'reuse_library_content', resource: 'library_content', description: 'Reuse published content within a course.' },
3426

0 commit comments

Comments
 (0)