stable

Clone or download

Read-only

Block FRS REST routes

part of story #12160 - have a clean way to suspend a project Routes to test: - get /frs_files/{id} - post /frs_packages - get /frs_packages/{id} - get /frs_packages/{id}/frs_release - get /frs_release/{id} - patch /frs_release/{id} - get /frs_release/{id}/files - post /frs_release How to test: - For siteadmin --> 403 errors - For regular users --> 403 errors, 403 errors everywhere Change-Id: I5e419de3f88ab67cddc299b46c08cb679d8991b3

Modified Files

Name
M plugins/frs/include/FRS/REST/v1/FileResource.php +10 −1 Go to diff View file
M plugins/frs/include/FRS/REST/v1/PackageResource.php +28 −3 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ReleaseResource.php +30 −1 Go to diff View file
M src/common/frs/FRSFile.class.php +48 −48 Go to diff View file