stable
Clone or download
Read-only
This contribution removes the possibility to unlink from a provider when no password is set on the account and the account is not linked ot another provider. Part of request #14812: Users signing in via an OIDC provider should be able to create an account without setting a password Change-Id: Ib2ecc13cbb58923ecac6a4e08100763600198f68
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/openidconnectclient/include/OpenIDConnectClient/UserAccount/OIDCProvidersController.php | +16 | −8 | Go to diff View file |
M | plugins/openidconnectclient/include/OpenIDConnectClient/UserAccount/OIDCProvidersPresenter.php | +12 | −2 | Go to diff View file |
M | plugins/openidconnectclient/include/OpenIDConnectClient/UserAccount/UnlinkController.php | +1 | −1 | Go to diff View file |
M | plugins/openidconnectclient/include/OpenIDConnectClient/UserAccount/templates/oidc-providers.mustache | +8 | −1 | Go to diff View file |
A | plugins/openidconnectclient/include/OpenIDConnectClient/UserMapping/CanRemoveUserMappingChecker.php | +37 | −0 | Go to diff View file |
M | plugins/openidconnectclient/include/OpenIDConnectClient/UserMapping/UserMapping.php | +6 | −3 | Go to diff View file |
M | plugins/openidconnectclient/include/OpenIDConnectClient/UserMapping/UserMappingManager.php | +35 | −10 | Go to diff View file |
M | plugins/openidconnectclient/include/openidconnectclientPlugin.php | +32 | −6 | Go to diff View file |
M | plugins/openidconnectclient/site-content/fr_FR/LC_MESSAGES/tuleap-openidconnectclient.po | +3 | −0 | Go to diff View file |
A | plugins/openidconnectclient/tests/unit/UserMapping/CanRemoveUserMappingCheckerTest.php | +67 | −0 | Go to diff View file |
M | plugins/openidconnectclient/tests/unit/UserMapping/UserMappingManagerTest.php | +61 | −10 | Go to diff View file |