@@ -17,18 +17,18 @@ export const libraryResourceTypes: ResourceMetadata[] = [
1717] ;
1818
1919export const libraryPermissions : PermissionMetadata [ ] = [
20- { key : 'delete_library' , resource : 'library' , description : 'Allows the user to delete the library and all its contents.' } ,
21- { key : 'manage_library_tags' , resource : 'library' , description : 'Add or remove tags from content.' } ,
22- { key : 'view_library' , resource : 'library' , description : 'View content, search, filter, and sort within the library.' } ,
20+ { key : 'content_libraries. delete_library' , resource : 'library' , description : 'Allows the user to delete the library and all its contents.' } ,
21+ { key : 'content_libraries. manage_library_tags' , resource : 'library' , description : 'Add or remove tags from content.' } ,
22+ { key : 'content_libraries. view_library' , resource : 'library' , description : 'View content, search, filter, and sort within the library.' } ,
2323
24- { key : 'edit_library_content' , resource : 'library_content' , description : 'Edit content in draft mode' } ,
25- { key : 'publish_library_content' , resource : 'library_content' , description : 'Publish content, making it available for reuse' } ,
26- { key : 'reuse_library_content' , resource : 'library_content' , description : 'Reuse published content within a course.' } ,
24+ { key : 'content_libraries. edit_library_content' , resource : 'library_content' , description : 'Edit content in draft mode' } ,
25+ { key : 'content_libraries. publish_library_content' , resource : 'library_content' , description : 'Publish content, making it available for reuse' } ,
26+ { key : 'content_libraries. reuse_library_content' , resource : 'library_content' , description : 'Reuse published content within a course.' } ,
2727
28- { key : 'create_library_collection' , resource : 'library_collection' , description : 'Create new collections within a library.' } ,
29- { key : 'edit_library_collection' , resource : 'library_collection' , description : 'Add or remove content from existing collections.' } ,
30- { key : 'delete_library_collection' , resource : 'library_collection' , description : 'Delete entire collections from the library.' } ,
28+ { key : 'content_libraries. create_library_collection' , resource : 'library_collection' , description : 'Create new collections within a library.' } ,
29+ { key : 'content_libraries. edit_library_collection' , resource : 'library_collection' , description : 'Add or remove content from existing collections.' } ,
30+ { key : 'content_libraries. delete_library_collection' , resource : 'library_collection' , description : 'Delete entire collections from the library.' } ,
3131
32- { key : 'manage_library_team' , resource : 'library_team' , description : 'View the list of users who have access to the library.' } ,
33- { key : 'view_library_team' , resource : 'library_team' , description : 'Add, remove, and assign roles to users within the library.' } ,
32+ { key : 'content_libraries. manage_library_team' , resource : 'library_team' , description : 'View the list of users who have access to the library.' } ,
33+ { key : 'content_libraries. view_library_team' , resource : 'library_team' , description : 'Add, remove, and assign roles to users within the library.' } ,
3434] ;
0 commit comments