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

If a user without additional authority drags and drops a document on Documents and Media, complete message is displayed.

    Details

    • Fix Priority:
      3

      Description

      Description
      If a user without authority to add documents, drags and drops a document on Documents and Media, "complete!" message is displayed.

      Steps to reproduce

      1. Setup DXP and install DE-57
      2. Start Liferay and login as test@liferay.com
      3. Navigate to Control Panel > User > Roles
      4. Add a regular role called "DM View Permission" with the following settings
         Documents and Media: Access in Site Administration
         Documents and Media > Documents: View
         Site Settings > Site: View Site Administration Menu
      1. Navigate to Control Panel > User > Users and Organizations
      2. Add a user called "user1" and grant "DM View Permission" role
      3. Login as "user1" and Navigate to Content > Document and Media
      4. Drag and drop a document to Document and Media

      Actual result
      "complete!" message is displayed, but the document is not added to there.
      As long as you do not reload the browser, the "complete" message will continue to be displayed.

      Expected result
      "complete!" message is should not be displayed, Drag&Drop container should not exist.

      Reproduced in
      DE-57
      7.0.x: 65285941d4fbfc7cc5fb3aee09871af0a88eb5b2

      Not reproduced in
      Master: af7bcb449b67225ffa8bf4107c0cae402bb2f124
      Drag and drop a text file, page will display it's content. If it's a binary file, page will ask to download this file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alan.huang Alan Huang
                Reporter:
                alan.huang Alan Huang
                Participants of an Issue:
                Recent user:
                Alan Huang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  51 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.X
                  Master