stable

Clone or download

Read-only

Manage forum adminsitrator through user groups

Part of story #10062: Users & groups management overhaul Go to project ยป admin ยป groups - The group "Forum administrators" is displayed only if the current project is using the forum service. - Yuu cannot delete this group. - You can add members in this group => in permissions matrix they have the forum admin flag. - You can remove members from this group => in permissions matrix they have not anymore the forum admin flag. - You can remove all members from this group. - You cannot remove the last member of the Project administrators users group. Removal of forum admin perms from the matrix will be done in a dedicated commit to ease the current review. Change-Id: I2f0670c0effae74bf9bb5838ca72112a55984c88

Modified Files

Name
M plugins/mediawiki/include/mediawikiPlugin.class.php +24 โˆ’0 Go to diff View file
M site-content/en_US/project/project.tab +3 โˆ’0 Go to diff View file
M site-content/fr_FR/project/project.tab +3 โˆ’0 Go to diff View file
M src/common/autoload.php +4 โˆ’2 Go to diff View file
M src/common/dao/UGroupDao.class.php +1 โˆ’1 Go to diff View file
M src/common/project/Admin/ProjectMembers/ProjectMembersController.php +6 โˆ’0 Go to diff View file
M src/common/project/Admin/ProjectMembers/ProjectMembersDAO.php +1 โˆ’0 Go to diff View file
M src/common/project/Admin/ProjectUGroup/DynamicUGroupMembersUpdater.php +20 โˆ’0 Go to diff View file
M src/common/project/Admin/ProjectUGroup/MembersPresenterBuilder.php +1 โˆ’1 Go to diff View file
M src/common/project/Admin/ProjectUGroup/UGroupListPresenterBuilder.php +4 โˆ’0 Go to diff View file
A src/common/project/Admin/ProjectUGroup/UserBecomesForumAdmin.php +26 โˆ’0 Go to diff View file
A src/common/project/Admin/ProjectUGroup/UserIsNoLongerForumAdmin.php +26 โˆ’0 Go to diff View file
M src/common/project/UGroupManager.class.php +2 โˆ’0 Go to diff View file
M src/common/project/UserPermissionsDao.php +28 โˆ’0 Go to diff View file
M src/common/user/UserGroup/NameTranslator.php +3 โˆ’0 Go to diff View file
M src/db/mysql/database_initvalues.sql +1 โˆ’3 Go to diff View file
A src/db/mysql/updates/2017/201711301015_add_forum_admin_in_permission_table.php +39 โˆ’0 Go to diff View file
M src/www/project/admin/ugroup_utils.php +10 โˆ’1 Go to diff View file
M tests/lib/TestDataBuilder.php +1 โˆ’0 Go to diff View file
M tests/rest/tests/ProjectTest.php +10 โˆ’3 Go to diff View file