stable

Clone or download

Read-only

Block PV2 access if program permissions are incorrect

part of story #17882 define cross project hierarchy between Features and User Stories Planning V2 is blocked in team project if : - user can't access to program project - user can't read program increment tracker The only field "leaking" between program and team is the title field If user can't see the program title, then it's not displayed in pv2/artifact modal Change-Id: Iaa1cf43d620792c860d84cc8050f31f4d2aa9b9f

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/Planning/PlanningV2Presenter.class.php +8 −2 Go to diff View file
A plugins/agiledashboard/include/Planning/ConfigurationCheckDelegation.php +71 −0 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestonePaneFactory.class.php +14 −7 Go to diff View file
M plugins/agiledashboard/include/Planning/VirtualTopMilestonePaneFactory.class.php +6 −1 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/src/app/main-controller.js +3 −0 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/LC_MESSAGES/tuleap-agiledashboard.po +3 −0 Go to diff View file
M plugins/agiledashboard/templates/pane-planning-v2.mustache +21 −14 Go to diff View file
M plugins/scaled_agile/include/Adapter/Program/Plan/PlanDao.php +9 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/PlanningCheck/ConfigurationUserCanNotSeeProgramException.php +31 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/PlanningCheck/PlanningCheckException.php +27 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/PlanningCheck/PlanningProgramAdapter.php +144 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/PlanningCheck/ProgramNotFoundException.php +31 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/PlanningCheck/UserCanNotAccessToProgramException.php +31 −0 Go to diff View file
M plugins/scaled_agile/include/Adapter/Team/TeamDao.php +7 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/PlanningCheck/BuildPlanningConfiguration.php +47 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/PlanningCheck/ConfigurationChecker.php +52 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/PlanningCheck/PlanningCheckException.php +27 −0 Go to diff View file
M plugins/scaled_agile/include/Program/Plan/PlanStore.php +2 −0 Go to diff View file
M plugins/scaled_agile/include/Team/Creation/TeamStore.php +2 −0 Go to diff View file
M plugins/scaled_agile/include/scaled_agilePlugin.php +39 −3 Go to diff View file
A plugins/scaled_agile/tests/unit/Adapter/Program/PlanningCheck/PlanningProgramAdapterTest.php +182 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Program/PlanningCheck/ConfigurationCheckerTest.php +51 −0 Go to diff View file