Files
c7d70b359c Allow syncing any User Attribute field with LDAP/SAML and disable the editable toggle when synced (#37018) (#37127)
* Allow syncing any CPA field with LDAP/SAML and disable editable toggle when synced

A custom profile attribute field could only be linked to LDAP/SAML sync
when it was user-editable, and the editable toggle stayed enabled for
synced fields. Toggling editable off silently stripped the link on save.

Allow admin-managed fields to be synced (sync and admin-managed are no
longer mutually exclusive on the server) and disable the editable toggle
in the dot menu while a field is synced, since synced values come from
the IdP and are never user-editable.

* Add tests for syncable admin-managed CPA fields and disabled editable toggle

* Strengthen sync test coverage: combined admin-managed+synced and SAML update path

* ci: re-trigger Enterprise CI after transient npm network failure

* Address PR feedback: 1 answered, 1 resolved, 0 declined

---------

Co-authored-by: mattermost-code <[email protected]>
Co-authored-by: Mattermost Build <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-19 17:38:02 +00:00
..