stable
Clone or download
Read-only
request #13755: File document can not be downloaded from the REST API when the instance does not allow anonymous users
Files can be downloaded by users that use a REST API auth method (e.g. an API access key) even the instance does not allow anonymous users. Change-Id: I0f5618560059975380614bec98a02a98b3fe7843
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Download/DocmanFileDownloadController.php | +8 | −41 | Go to diff View file |
M | plugins/docman/include/docmanPlugin.class.php | +0 | −1 | Go to diff View file |
M | plugins/docman/phpunit/Download/DocmanFileDownloadControllerTest.php | +15 | −88 | Go to diff View file |