stable

Clone or download

Read-only

Restrict project creation through rest to autorised people

Part of story #12265 - have a REST end point to toggle project's status Now only Rest project managers and site admin can create a project through the api. how to test: - with a regular user, try to create a project through REST --> 403 Forbidden - with a Rest project manager, try to create a project through rest --> Success Change-Id: Iad320efde3f4e7563a335547724bfcd159b9d982

Modified Files

Name
M plugins/project_certification/tests/rest/ProjectCertificationTest.php +4 −4 Go to diff View file
M src/common/project/ProjectCreator.class.php +73 −29 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +16 −8 Go to diff View file
M tests/rest/tests/ProjectTest.php +72 −10 Go to diff View file