stable

Clone or download

Read-only

request #13892 On new UI, user without read permission can not request to admin, the possibility to see it

How to reproduce: - have a user without any reading permission on a document => only permission denied state is displayed we should enable user to ask permission to access to the document Change-Id: Ic0214d405c9665215f1e6ace4ab928f2fe066fdb

Modified Files

Name
A plugins/document/include/PermissionDeniedDocumentMailSender.php +72 −0 Go to diff View file
M plugins/document/include/Tree/DocumentTreeController.php +3 −1 Go to diff View file
M plugins/document/include/Tree/DocumentTreePresenter.php +14 −1 Go to diff View file
M plugins/document/include/documentPlugin.php +14 −0 Go to diff View file
M plugins/document/scripts/document/components/App.vue +4 −2 Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/ItemPermissionError.test.js +44 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/Error/ItemPermissionError.vue +58 −3 Go to diff View file
A plugins/document/scripts/document/components/Folder/Error/__snapshots__/ItemPermissionError.test.js.snap +97 −0 Go to diff View file
M plugins/document/scripts/document/index.js +5 −1 Go to diff View file
M plugins/document/scripts/document/po/fr.po +21 −0 Go to diff View file
M plugins/document/templates/document-tree.mustache +2 −0 Go to diff View file
M src/common/Error/Error_PermissionDenied.class.php +43 −12 Go to diff View file