Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Asset Libraries
    • Labels:

      Description

      As a repository admin

      I want to be able to assign roles defined out of the box for repositories

      so that the users can only perform the actions defined.

       

      Default roles: Asset Library owner, Asset Library admin, Asset Library member

       

      Acceptance criteria

       

      Given a DXP instance

      When a Liferay admin accesses the roles section for repositories

      Then she can see the default repository roles

       

      Given a DXP instance with users

      When a Liferay admin needs to assign a role to a user/organization

      Then she can select from the default repository roles

       

      Given a DXP instance with users

      When a user has assigned a default repository role

      Then she can perform the actions defined in the role where it applies

       

      Given a DXP instance

      When a user creates a repository

      Then the system assigns automatically the "Asset Library owner" role

       

      Given a DXP instance

      When a user is made a member of a repository

      Then the system assigns automatically the "Asset Library member" role

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
      21.6 5 Can view the default asset library role: Asset Library Administrator  YES N/A 
      21.7 5 Can view the default asset library role: Asset Library Member  YES  N/A
      21.8 5 Can view the default asset library role: Asset Library Owner  YES N/A 
      21.9 5 Can assign the Asset Library Administrator role to a user  YES  N/A
      21.10 5 Can assign the Asset Library Owner role to a user  YES N/A 
      21.11 5 A user assigned the Asset Library Administrator role can access the asset library  YES N/A 
      21.12 5 A user assigned the Asset Library Administrator role can view documents in the asset library  YES  N/A
      21.13 5 A user assigned the Asset Library Administrator role can edit documents in the asset library  YES N/A 
      21.14 5 A user assigned the Asset Library Administrator role can delete documents in the asset library  YES N/A 
      21.15 5 A user assigned the Asset Library Administrator role can add documents in the asset library  YES N/A 
      21.16 5 A user assigned the Asset Library Administrator role can not assign Asset Library Administrator role to a user  NO DepotRoles#ViewALAdminRole
      21.17 5 A user assigned the Asset Library Administrator role can not assign Asset Library Owner to a user  NO DepotRoles#ViewALAdminRole 
      21.18 5 A user assigned the Asset Library Owner role can access the asset library  YES N/A 
      21.19 5 A user assigned the Asset Library Owner role can view collections in the asset library NO    Covered by DepotCollections#RemoveAssetFromContentSet
      21.20 5 A user assigned the Asset Library Owner role can edit collections in the asset library  NO Covered by DepotCollections#RemoveAssetFromContentSet 
      21.21 5 A user assigned the Asset Library Owner role can delete collections in the asset library NO  Covered by DepotCollections#RemoveAssetFromContentSet 
      21.22 5 A user assigned the Asset Library Owner role can add collections in the asset library  NO Covered by DepotCollections#RemoveAssetFromContentSet 
      21.23 5 A user assigned the Asset Library Owner role can assign Asset Library Administrator role to a user NO  DepotRoles#ViewALOwnerRole
      21.24 5 A user assigned the Asset Library Owner role can assign Asset Library Owner to a user  NO DepotRoles#ViewALOwnerRole
      21.25 5 The system assigns the "Asset Library owner" role automatically when a user creates a repository YES  N/A 
      21.26 5 The system assigns the "Asset Library member" role automatically when a user is a member of a repository YES  N/A 

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master