stable

Clone or download

Read-only

Block TestManagement REST routes

part of story #12160 - have a clean way to suspend a project Routes to test: - get /projects/{id}/testmanagement_campaigns - get /projects/{id}/testmanagement_definitions - get /testmanagement_campaigns/{id} - patch /testmanagement_campaigns/{id} - get /testmanagement_campaigns/{id}/testmanagement_executions - patch /testmanagement_campaigns/{id}/testmanagement_executions - post /testmanagement_campaigns - post /testmanagement_campaigns/{id}/automated_tests - get /testmanagement_definitions/{id} - post /testmanagement_executions - patch /testmanagement_executions/{id}/presences - patch /testmanagement_executions/{id}/issues - get /testmanagement_executions/{id} - patch /testmanagement_executions/{id} - put /testmanagement_executions/{id} - get /testmanagement_nodes/{id} agement_executions/{id} How to test: - For siteadmin --> 403 errors - For regular users --> 403 errors, 403 errors everywhere Change-Id: I1234d953872c7d8b3db9afe06a705cfbce39900d

Modified Files

Name
M include/TestManagement/REST/v1/CampaignsResource.class.php +40 −5 Go to diff View file
M include/TestManagement/REST/v1/DefinitionsResource.class.php +9 −1 Go to diff View file
M include/TestManagement/REST/v1/ExecutionsResource.class.php +36 −1 Go to diff View file
M include/TestManagement/REST/v1/NodesResource.class.php +7 −1 Go to diff View file
M include/TestManagement/REST/v1/ProjectResource.class.php +14 −1 Go to diff View file