mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-09-10 01:15:55 +00:00
74cbff039f
Extend the sso_role_sync condition in SSOService.provisionUser so the IdP-derived role is applied only while the stored role is Admin or Viewer. Granular roles (deployer, node-admin, auditor) remain manually authoritative. Replace the misleading inline comment with one accurate block explaining the setting gate, coarse-role sync, granular-role preservation, and independent email sync. Backed by parameterized regression tests for all three granular roles.