stable
Clone or download
Read-only
This is part of story #11347 have a UI to accesss Move artifact A query like {"is_tracker_admin": true} can be added to GET projects/:id to filter projects that user is at least administrator of one tracker. {"is_tracker_admin": false} is not taken into account and will throw an error. Change-Id: Ieaedc984ad9593d4fea4ae365fbec10cfc5cd9a1
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/TrackerFactory.class.php | +17 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/dao/ProjectDao.php | +79 | −0 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.class.php | +27 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/DataBuilder.php | +63 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/TrackerAdministrator/ProjectTest.php | +72 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/TrackerBase.php | +10 | −6 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/TrackerAdministrator/project.xml | +51 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/TrackerAdministrator/user_map.csv | +2 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/TrackerAdministrator/users.xml | +10 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/_fixtures/TrackerFields/project.xml | +1 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/bootstrap.php | +1 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/init_test_data.php | +4 | −3 | Go to diff View file |
M | src/common/autoload.php | +3 | −2 | Go to diff View file |
A | src/common/project/Event/GetProjectWithTrackerAdministrationPermission.php | +93 | −0 | Go to diff View file |
M | src/common/project/REST/v1/ProjectResource.class.php | +28 | −7 | Go to diff View file |
M | tests/lib/autoload.php | +3 | −5 | Go to diff View file |