stable
Clone or download
Read-only
Part of epic #12142 Baseline v1 Permissions are managed in repositories, except for Baseline permissions. And current user is explicitly passed from controller to repositories which need it to test permissions. Change-Id: I70600e411364360a5d4031471df2427e49dc882d
Modified Files
Name | ||||
---|---|---|---|---|
R | include/Adapter/ProjectPermissionsAdapter.php | Go to diff View file | ||
M | include/Adapter/BaselineRepositoryAdapter.php | +18 | −13 | Go to diff View file |
M | include/Adapter/ChangesetRepositoryAdapter.php | +4 | −2 | Go to diff View file |
M | include/Adapter/MilestoneRepositoryAdapter.php | +15 | −6 | Go to diff View file |
M | include/Adapter/ProjectRepositoryAdapter.php | +16 | −4 | Go to diff View file |
M | include/Baseline/BaselineRepository.php | +2 | −2 | Go to diff View file |
M | include/Baseline/BaselineService.php | +20 | −11 | Go to diff View file |
M | include/Baseline/ChangesetRepository.php | +4 | −1 | Go to diff View file |
M | include/Baseline/MilestoneRepository.php | +2 | −1 | Go to diff View file |
M | include/Baseline/Permissions.php | +2 | −14 | Go to diff View file |
M | include/Baseline/PermissionsImpl.php | +10 | −88 | Go to diff View file |
D | include/Baseline/ProjectPermissions.php | +0 | −34 | Go to diff View file |
M | include/Baseline/ProjectRepository.php | +2 | −1 | Go to diff View file |
M | include/Baseline/TransientBaseline.php | +6 | −0 | Go to diff View file |
M | include/REST/BaselineController.php | +10 | −9 | Go to diff View file |
M | include/REST/ProjectBaselineController.php | +17 | −8 | Go to diff View file |
M | include/Support/ContainerBuilderFactory.php | +23 | −37 | Go to diff View file |
M | phpunit/Adapter/BaselineRepositoryAdapterTest.php | +25 | −16 | Go to diff View file |
M | phpunit/Baseline/BaselineServiceTest.php | +11 | −6 | Go to diff View file |
D | phpunit/Baseline/PermissionsImplTest.php | +0 | −143 | Go to diff View file |
M | phpunit/REST/BaselineControllerTest.php | +4 | −4 | Go to diff View file |
M | phpunit/REST/ProjectBaselineControllerTest.php | +22 | −5 | Go to diff View file |
M | phpunit/Stub/BaselineRepositoryStub.php | +2 | −2 | Go to diff View file |
M | phpunit/Stub/ChangesetRepositoryStub.php | +4 | −2 | Go to diff View file |
M | phpunit/Stub/MilestoneRepositoryStub.php | +2 | −1 | Go to diff View file |
M | phpunit/Stub/PermissionsStub.php | +8 | −32 | Go to diff View file |
M | phpunit/Stub/ProjectRepositoryStub.php | +2 | −1 | Go to diff View file |