Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-135678

Allow selecting content stored in an Asset Library from the media gallery

Details

    Description

      As a marketer

      I want to be able to select a folder from a connected asset library in the media gallery widget

      so that I can publish it on a page and make users access it

       

      Acceptance criteria

      Given an asset library connected to a site

      When an admin configures a media gallery widget on a page

      Then they can select a folder (from the home folder to any other) of the asset library

       

      Given an asset library connected to a site

      When an admin configures a media gallery widget on a page

      And selects a folder from an asset library

      Then the documents stored in the folder are shown, taking into account the appropriate permissions.

      Test Scenarios

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
        5 A folder of asset library can be selected from MG on a connected site  No DepotMGWidget#CanAddImageToSubFolder 
        5 An image stored in asset library folder can be displayed via MG on a connected site  tested partially on: 
      DLAppServiceWhenViewingFolderContentsTest .testShouldNotReturnContentOfFolderNotInGroup
      DLAppServiceWhenViewingFolderContentsTest .testShouldNotReturnNotAcceptedMimeTypes
      DepotMGWidget#CanEditImage 
        5 A video stored in asset library folder can be displayed via MG on a connected site  tested partially on: 
      DLAppServiceWhenViewingFolderContentsTest .testShouldNotReturnContentOfFolderNotInGroup
      DLAppServiceWhenViewingFolderContentsTest .testShouldNotReturnNotAcceptedMimeTypes
      DepotMGWidget#CanMoveVideoToRecycleBin 
        5 A subfolder stored in asset library folder can be displayed via MG on a connected site tested partially on: 
      DLAppServiceWhenViewingFolderContentsTest .testShouldNotReturnNotAcceptedMimeTypes 
      DepotMGWidget#CanAddImageToSubFolder 
        4 Non-image/video files stored in asset library folder cannot be displayed via MG on a connected site  tested partially on: 
      DLAppServiceWhenViewingFolderContentsTest .testShouldNotReturnContentOfFolderNotInGroup
      DLAppServiceWhenViewingFolderContentsTest .testShouldNotReturnNotAcceptedMimeTypes 
      DepotMGWidget#CanEditImage
        5 A user can access the subfolder stored in asset library folder via MG on a connected site  No DepotMGWidget#CanAddImageToSubFolder 
        5 A user can edit the image stored in asset library folder via MG on a connected site  No DepotMGWidget#CanEditImage 
        5 A user can move video stored in asset library folder to recycle bin via MG on a connected site  No DepotMGWidget#CanMoveVideoToRecycleBin 
        3 A user can add non-image/video files to asset library folder via MG on a connected site No  DepotMGWidget#CanAddDocumentToFolder 
        4 The assets/folders stored in asset library folder cannot be displayed via MG once the site is disconnected DLFolderUtilTest.testValidateDepotFolder  DepotMGWidget#CannotViewImageFromDisconnectedSite
        4 An image in a depot can be published in Media Gallery when local staging is enabled  No DepotLocalStagingDM#CanPublishImageInMG
        4 An image in a depot can be published in Media Gallery when remote staging is enabled  No DepotRemoteStagingDM#CanPublishImageInMG

      Attachments

        Issue Links

          Activity

            People

              austin.chiang Austin Chiang
              pablo.agulla Pablo Agulla
              Alicia Garcia Alicia Garcia
              Kiyoshi Lee Kiyoshi Lee
              Alicia Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master