stable

Clone or download

Read-only

feat: Log permissions change in project history

Like for other permissions in Tuleap, every time permissions of baseline service are updated, an entry should be added in project history. Project history can be filtered to find only baseline related permissions. Part of story #26359: define dedicated baseline administrators & readers Change-Id: I5a0b33495fa63c041bc4adfebd01439f265fec7d

Modified Files

Name
A plugins/baseline/include/Adapter/Administration/ISaveProjectHistory.php +30 −0 Go to diff View file
A plugins/baseline/include/Adapter/Administration/ProjectHistory.php +108 −0 Go to diff View file
M plugins/baseline/include/ServiceSavePermissionsController.php +15 −4 Go to diff View file
M plugins/baseline/include/baselinePlugin.php +19 −1 Go to diff View file
M plugins/baseline/site-content/fr_FR/LC_MESSAGES/tuleap-baseline.po +12 −0 Go to diff View file
A plugins/baseline/tests/unit/Adapter/Administration/ProjectHistoryTest.php +156 −0 Go to diff View file
M plugins/baseline/tests/unit/ServiceSavePermissionsControllerTest.php +83 −0 Go to diff View file
M plugins/docman/include/PermissionsPerGroup/PermissionPerGroupDocmanServicePaneBuilder.php +3 −1 Go to diff View file
M plugins/git/include/Git/PermissionsPerGroup/GitPaneSectionCollector.php +4 −1 Go to diff View file
M plugins/git/include/Git/PermissionsPerGroup/PermissionPerGroupGitSectionBuilder.php +3 −1 Go to diff View file
M plugins/mediawiki/include/PermissionsPerGroup/PermissionPerGroupPaneBuilder.php +3 −1 Go to diff View file
M plugins/program_management/include/Adapter/ProjectAdmin/PermissionPerGroupSectionBuilder.php +5 −2 Go to diff View file
M plugins/svn/include/SVN/PermissionsPerGroup/PermissionPerGroupSVNServicePaneBuilder.php +3 −1 Go to diff View file
M plugins/tracker/include/Tracker/UgroupPermissionsGoldenRetriever.class.php +1 −1 Go to diff View file
A src/common/Project/Admin/History/GetHistoryKeyLabel.php +51 −0 Go to diff View file
M src/common/Project/UGroupManager.class.php +2 −5 Go to diff View file
A src/common/Project/UGroupRetriever.php +34 −0 Go to diff View file
M src/www/project/admin/project_admin_utils.php +18 −5 Go to diff View file
M tests/lib/Builders/ProjectUGroupTestBuilder.php +21 −1 Go to diff View file