stable

Clone or download

Read-only

feat: Save administrators

The form previously contributed[0] is now fully functional and new administrators can be defined. [0]: git #tuleap/stable/29f79caab062f860a6cbd963fe8c9da857ac9ad4 Part of story #26359: define dedicated baseline administrators & readers Change-Id: Ib52bebf0accce673c60ba0979364afee75c2a21d

Modified Files

Name
M plugins/baseline/include/Adapter/Administration/AdminPermissionsPresenter.php +7 −2 Go to diff View file
M plugins/baseline/include/Adapter/Administration/AdminPermissionsPresenterBuilder.php +10 −4 Go to diff View file
M plugins/baseline/include/Adapter/Administration/IBuildAdminPermissionsPresenter.php +6 −1 Go to diff View file
M plugins/baseline/include/Adapter/RoleAssignmentRepositoryAdapter.php +24 −0 Go to diff View file
A plugins/baseline/include/CSRFSynchronizerTokenProvider.php +33 −0 Go to diff View file
M plugins/baseline/include/Domain/RoleAssignmentRepository.php +2 −0 Go to diff View file
M plugins/baseline/include/ServiceAdministrationController.php +14 −1 Go to diff View file
A plugins/baseline/include/ServiceSavePermissionsController.php +81 −0 Go to diff View file
M plugins/baseline/include/baselinePlugin.php +24 −0 Go to diff View file
M plugins/baseline/site-content/fr_FR/LC_MESSAGES/tuleap-baseline.po +3 −0 Go to diff View file
M plugins/baseline/templates/baselines-admin.mustache +6 −3 Go to diff View file
A plugins/baseline/tests/integration/Adapter/RoleAssignmentRepositoryAdapterTest.php +112 −0 Go to diff View file
M plugins/baseline/tests/unit/Adapter/Administration/AdminPermissionsPresenterBuilderTest.php +14 −3 Go to diff View file
M plugins/baseline/tests/unit/ServiceAdministrationControllerTest.php +19 −3 Go to diff View file
A plugins/baseline/tests/unit/ServiceSavePermissionsControllerTest.php +101 −0 Go to diff View file
M plugins/timetracking/include/Timetracking/Time/TimeController.php +4 −4 Go to diff View file
M plugins/timetracking/tests/unit/Time/TimeControllerTest.php +3 −7 Go to diff View file
A src/common/Request/CSRFSynchronizerTokenInterface.php +40 −0 Go to diff View file
M src/common/include/CSRFSynchronizerToken.php +4 −11 Go to diff View file
M src/common/include/Feedback.class.php +5 −4 Go to diff View file
M tests/integration/bin/setup.sh +1 −0 Go to diff View file
A tests/lib/Stubs/CSRFSynchronizerTokenStub.php +63 −0 Go to diff View file