stable

Clone or download

Read-only

Add to project members in public projects with setting

Part of story #13490 have a consistent management of project & groups members How to test: - Given a public or public incl. restricted project - Forge your DB and insert a project id and 1 in the project_ugroup_synchronized_membership table - When you add a user to any static (user-defined) user group, you will see a confirmation modal - When you confirm, then she will also be added to project members No functional change for public or public incl. restricted projects that DO NOT have the setting. Change-Id: I692d025a9279e145fc212a192cf282d951d08f7a

Modified Files

Name
M src/common/Project/ProjectUGroup.php +2 −1 Go to diff View file
M src/common/Project/UGroups/SynchronizedProjectMembershipDetector.php +9 −1 Go to diff View file
M src/www/project/admin/editugroup.php +15 −11 Go to diff View file
M tests/phpunit/common/Project/UGroups/SynchronizedProjectMembershipDetectorTest.php +26 −3 Go to diff View file