Libraries Permissions validation flows

This document outlines validation flows for permissions and scopes within the Libraries feature. It serves as a working draft to clarify essential permission-based functionalities and user interactions. Changes and refinements may be made as requirements evolve.


View Library A

  • Enter Studio home.

  • Enter Libraries section.

    • If user has view_library permission AND Scope: Library A:

      • Can view Library A in Libraries home.

      • Can search for Library A.

      • Can sort the libraries alphabetically and see Library A.

      • Can select Library A from the list.

      • Can search for contents and collections.

      • Can filter contents by:

        • Component

        • Collection

        • Tags

        • Type of component

      • Can see individual content and collections.

      • Can see library information.

      • Can view content and collection previews

      • Can view content and collection tags

      • Can view content and collection metadata

    • Else:

      • Cannot see, search for, or sort Library A in Libraries home.

Create Library A

  • Enter Studio home.

  • Enter Libraries section.

    • If user has create_library permission and Scope: Any:

      • See active "New Library" button.

      • Select button and fill form, specifying OrgA in Organization.

        • If user has Scope: OrgA or Scope: All Organizations:

          • Create Library A successfully.

        • Else (if not Scope: OrgA AND not Scope: All Organizations):

          • Cannot create Library.

    • Else (user does not have create_library permission):

      • See "New Library" button disabled.

Edit Library A

  • Enter Studio home.

  • Enter Libraries section.

    • If user has view_library permission AND Scope: Library A:

      • Enter Library A.

        • If user has edit_library permission AND Scope: Library A:

          • See active "+ new" button.

          • Open sidebar and select content type.

          • Create or edit content; save it.

          • Edit library name via Library Info.

          • See “Delete” inside the three doted menu of a content, delete the content when selected.

        • Else:

          • See "+ new" button disabled.

Delete Library A

  • Enter Studio home.

  • Enter Libraries section.

    • If user has view_library permission AND Scope: Library A:

      • Enter Library A.

        • If user has delete_library permission AND Scope: Library A:

          • Open Library Info; see active "Delete Library" button.

          • Delete Library A.

        • Else:

          • See "Delete Library" button disabled.

Manage Tags in Library A

  • Enter Studio home.

  • Enter Libraries section.

    • If user has view_library permission AND Scope: Library A:

      • Enter Library A and select content.

      • Open sidebar, select Manage tab, and open tags dropdown.

        • If user has manage_tags permission AND Scope: Library A:

          • See and interact with "Add tags".

        • Else:

          • Cannot see or interact with "Add tags".

Delete Content in Library A

  • Enter Studio home.

  • Enter Libraries section.

    • If user has view_library permission AND Scope: Library A:

      • Enter Library A.

      • Select content’s three-dot menu.

        • If user has delete_content permission AND Scope: Library A:

          • See and select "Delete"; confirm deletion.

        • Else:

          • Cannot see "Delete" option.

Publish Content in Library A

  • Enter Studio home.

  • Enter Libraries section.

    • If user has view_library permission AND Scope: Library A:

      • Enter Library A and select content.

        • If user has publish_content permission AND Scope: Library A:

          • See and click active "Publish Component" button.

        • Else:

          • See "Publish Component" button disabled.

Publish Library A

  • Enter Studio home.

  • Enter Libraries section.

    • If user has view_library permission AND Scope: Library A:

      • Enter Library A.

      • Open Library Info.

        • If user has publish_library permission AND Scope: Library A and there is draft content:

          • See and click active "Publish" button.

          • Content and timestamp updated.

        • Else:

          • See "Publish" button disabled.

View Library Team

  • Enter Studio home.

  • Enter Libraries section.

    • If user has view_library permission AND Scope: Library A:

      • Enter Library A.

      • Open Library Info.

        • If user has view_library_team permission AND Scope: Library A:

          • See and click active "Manage Access" button.

          • View library team listed.

        • Else:

          • See "Manage Access" button disabled.


Pending Sections

Import Content from Course

To be defined.

Manage Library Team

To be defined.

Related content