stable

Clone or download

Read-only

Fix GET baselines/:id and GET baselines/:id/artifacts when user cannot access baseline artifact

Part of epic #12142 Baseline v1 GET baselines/:id and GET baselines/:id/artifacts used to throw 500 when current user cannot access a baseline artifact. Change-Id: I763160a53dc0093cd124af758e82685e4b2d3a60

Modified Files

Name
M include/Adapter/BaselineRepositoryAdapter.php +15 −7 Go to diff View file
M phpunit/Adapter/BaselineRepositoryAdapterTest.php +75 −0 Go to diff View file