stable

Clone or download

Read-only

Introduce user identifier

part of request #22231 Decrease adapter responsibility In order to decrease review size/complexity, PrioritizeFeaturesPermissionVerifier is still in Adapter Domain, I will move it in a dedictaed patch, I also plan to move the dependencies out of the construct, if i can Change-Id: Ie56d14caa50fa35d9ce889892f9b70939d7fdcd6

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Plan/PrioritizeFeaturesPermissionVerifier.php +17 −18 Go to diff View file
A plugins/program_management/include/Adapter/Workspace/UserManagerAdapter.php +49 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/VerifyPrioritizeFeaturesPermission.php +2 −1 Go to diff View file
M plugins/program_management/include/Domain/UserCanPrioritize.php +7 −6 Go to diff View file
A plugins/program_management/include/Domain/Workspace/RetrieveUser.php +29 −0 Go to diff View file
A plugins/program_management/include/Domain/Workspace/UserIdentifier.php +43 −0 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +7 −11 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +29 −26 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +21 −11 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Plan/PrioritizeFeaturesPermissionVerifierTest.php +56 −48 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveUserStub.php +74 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/VerifyPrioritizeFeaturePermissionStub.php +4 −4 Go to diff View file