-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Component/s: DM > Administration
-
Labels:
-
Fix Priority:3
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
- Setup DXP and install DE-57
- Start Liferay and login as test@liferay.com
- Navigate to Control Panel > User > Roles
- 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
- Navigate to Control Panel > User > Users and Organizations
- Add a user called "user1" and grant "DM View Permission" role
- Login as "user1" and Navigate to Content > Document and Media
- 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.