stable

Clone or download

Read-only

Manage news adminsitrator through user groups

Part of story #10062: Users & groups management overhaul Go to project ยป admin ยป groups - The group "News administrators" is displayed only if the current project is using the news service. - Yuu cannot delete this group. - You can add members in this group => in permissions matrix they have the news admin flag. - You can remove members from this group => in permissions matrix they have not anymore the news admin flag. - You can remove all members from this group. - You cannot remove the last member of the Project administrators users group. Go to project > admin > groups > News writer - members who are listed in news administrators are displayed here - you can't remove the write permission of a new administrator, you should remove him from admin first. Removal of news admin perms from the matrix will be done in a dedicated commit to ease the current review. Change-Id: I9d13484f12fa5277e8d6bb5559278ff5abf34ad8

Modified Files

Name
M site-content/en_US/project/project.tab +3 โˆ’0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +7 โˆ’3 Go to diff View file
M site-content/fr_FR/project/project.tab +3 โˆ’0 Go to diff View file
M site-content/tuleap-core.pot +5 โˆ’3 Go to diff View file
M src/common/autoload.php +4 โˆ’2 Go to diff View file
M src/common/project/Admin/ProjectMembers/ProjectMembersController.php +9 โˆ’1 Go to diff View file
M src/common/project/Admin/ProjectUGroup/DynamicUGroupMembersUpdater.php +19 โˆ’1 Go to diff View file
M src/common/project/Admin/ProjectUGroup/MembersPresenterBuilder.php +13 โˆ’6 Go to diff View file
M src/common/project/Admin/ProjectUGroup/UGroupListPresenterBuilder.php +1 โˆ’0 Go to diff View file
A src/common/project/Admin/ProjectUGroup/UserBecomesNewsAdministrator.php +26 โˆ’0 Go to diff View file
A src/common/project/Admin/ProjectUGroup/UserIsNoLongerNewsAdministrator.php +26 โˆ’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 โˆ’0 Go to diff View file
A src/db/mysql/updates/2017/201711301015_add_news_admin_in_permission_table.php +44 โˆ’0 Go to diff View file
M src/templates/project/admin/ugroup-settings-member-list.mustache +13 โˆ’7 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 +12 โˆ’3 Go to diff View file