stable

Clone or download

Read-only

Add ability to query GET /projects for projects I'm member of

This is a part of story #10495: have base cross tracker search widget How to test: - As projet member, using {"is_member_of": true} as a query, you should get all projects that you are member of. - {"is_member_of": false} should throw a 400 Bad Request - Special projects (id <= 100) should never be returned as a result of this query Change-Id: I4abfa42a85df97de39331d90eba5728dfff34ad4

Modified Files

Name
M src/common/dao/ProjectDao.class.php +18 −0 Go to diff View file
M src/common/project/ProjectManager.class.php +11 −0 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +35 −7 Go to diff View file
M tests/rest/ProjectTest.php +23 −0 Go to diff View file