Univention Bugzilla – Bug 38934
renaming a SAML service provider doesn't update the user references
Last modified: 2015-11-17 12:12:22 CET
If a user is allowed to use the identity provider 'foo' and foo gets renamed to bar the user still only have the permissions for the not-anymore-existing 'foo' and not for 'bar'. We should prevent a rename. diff --git a/component/saml/univention-saml/modules/univention/admin/handlers/saml/serviceprovider.py b/component/saml/univention-saml/modules/univention/admin/handlers/saml/serviceprovider.py index 6ec16b9..db5f1c0 100644 --- a/component/saml/univention-saml/modules/univention/admin/handlers/saml/serviceprovider.py +++ b/component/saml/univention-saml/modules/univention/admin/handlers/saml/serviceprovider.py @@ -63,7 +63,7 @@ multivalue = False, options = [], required = True, - may_change = True, + may_change = False, identifies = True, ), 'AssertionConsumerService': univention.admin.property(
I moved the package univention-saml from components into services/. Package: univention-saml Version: 3.0.0-1.30.201507231223 Branch: ucs_4.1-0
Probably the best solution, as a rename would also change URLs etc. OK: r62351 OK: Changelog
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".