stable

Clone or download

Read-only

User must be able to reorder PI when he has plan permissions

closes request #22626 UI permissions for drag and drop feature are not correct How to test: Have a program with plan permission set to `custom group` With a user member of `custom group` you can plan element (from to be planed to PI section) With a user not member you can not, a banner is displayed indicating lack of permissions Change-Id: I5ed75ab3c453727e867edfbec06841636fb55077

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsRetriever.php +22 −42 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/UserCanPlanInProgramIncrementVerifier.php +72 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Content/ContentModifier.php +27 −14 Go to diff View file
A plugins/program_management/include/Domain/Workspace/VerifyUserCanPlanInProgramIncrement.php +40 −0 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +2 −0 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +6 −3 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ProgramIncrement/FeatureCard.test.ts +5 −5 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ProgramIncrement/FeatureCard.vue +8 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ProgramIncrement/__snapshots__/FeatureCard.test.ts.snap +4 −4 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsRetrieverTest.php +10 −9 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Content/ContentModifierTest.php +18 −28 Go to diff View file
A plugins/program_management/tests/unit/Stub/CheckFeatureIsPlannedInProgramIncrementStub.php +51 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/VerifyUserCanPlanInProgramIncrementStub.php +63 −0 Go to diff View file