stable
Clone or download
Read-only
Git LFS Batch Request route should only returns a 403 when the user can read but not write
Other cases should return a 404, see [0]. [0] https://github.com/git-lfs/git-lfs/blob/v2.6.0/docs/api/batch.md#response-errors This is part of story #12322: have git-lfs batch and basic transfer API Change-Id: I2985fb10ec585dd26363db8b5e89d2d25f3715f7
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/git/include/LFS/Batch/LFSBatchAPIHTTPAccessControl.php | +80 | −0 | Go to diff View file |
M | plugins/git/include/LFS/Batch/LFSBatchController.php | +7 | −44 | Go to diff View file |
M | plugins/git/include/gitPlugin.class.php | +5 | −3 | Go to diff View file |
A | plugins/git/phpunit/LFS/Batch/LFSBatchAPIHTTPAccessControlTest.php | +140 | −0 | Go to diff View file |