stable

Clone or download

Read-only

We should not permit restricted users on non restricted platform

request #10377 Restricted should not been an acceptable value when plateform does not allow restricted users Issue found in: - user management - user creation for site admin If existing users have restricted status, even if the platform doesn't allow restricted users, users should have the correct status displayed Change-Id: I495a8221be61a0c87fa3fdfa08b6c38988e7ee05

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +3 −0 Go to diff View file
M site-content/tuleap-core.pot +3 −0 Go to diff View file
M src/common/account/RegisterAdminPrefillValuesPresenter.class.php +18 −5 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/common/user/Admin/UserDetailsFormatter.php +13 −18 Go to diff View file
A src/common/user/Admin/UserStatusBuilder.php +58 −0 Go to diff View file
A src/common/user/Admin/UserStatusChecker.php +40 −0 Go to diff View file
M src/templates/account/register-admin.mustache +15 −13 Go to diff View file
M src/www/account/register.php +27 −19 Go to diff View file
M src/www/admin/usergroup.php +14 −10 Go to diff View file
A tests/simpletest/common/user/Admin/UserStatusBuilderTest.php +128 −0 Go to diff View file
A tests/simpletest/common/user/Admin/UserStatusCheckerTest.php +72 −0 Go to diff View file