stable

Clone or download

Read-only

Links access should be logged when user click on "create new version"

part of request #13807 No access is logged when user accesses a document on the new UI How to test: Click on "create new version" for a link => an access should be logged in history Access to your link with the preview: => no access should be logged (as link url is not displayed) click on "Open link" or on the link itself => an access should be logged in history the link_url is no longer present in docman_items/id/docman_items and in docman_items/id/parent Change-Id: Ic30cce623dd5f640b4d19e621386f4ec002dcbc8

Modified Files

Name
M plugins/docman/include/Docman_Link.class.php +4 −2 Go to diff View file
M plugins/docman/include/REST/v1/ItemRepresentationVisitor.php +20 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/ItemRepresentationVisitorTest.php +20 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +1 −9 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsButton/NewItemVersionButton.test.js +14 −17 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsButton/NewItemVersionButton.vue +25 −3 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/LinkCellTitle.test.js +3 −55 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/LinkCellTitle.vue +0 −6 Go to diff View file
A plugins/document/scripts/document/components/Folder/ItemTitle/__snapshots__/LinkCellTitle.test.js.snap +22 −0 Go to diff View file
M plugins/document/scripts/document/store/actions.js +16 −3 Go to diff View file
M plugins/document/scripts/document/store/actions.test.js +66 −2 Go to diff View file