stable

Clone or download

Read-only

Block Timetracking REST routes

part of story #12160 - have a clean way to suspend a project Routes to test: - post /timetracking - delete /timetracking/{id} - put /timetracking/{id} - get /users/{id}/timetracking How to test: - For siteadmin --> GET routes works --> 403 errors for POST/PATCH/PUT/DELETE - For regular users --> Get route does not return times logged in artifacts belonging to a suspended project Change-Id: I4bd826bac2eb94467bc7d38f465ab557553c00f2

Modified Files

Name
M plugins/timetracking/include/Timetracking/REST/v1/TimetrackingResource.php +17 −1 Go to diff View file
M plugins/timetracking/include/Timetracking/Time/TimeDao.php +7 −2 Go to diff View file