Repository navigation
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing this draft because it was opened prematurely before the fork work had been reviewed and approved for upstream submission. The implementation will remain in the TechRelay fork until the maintainer-facing submission is intentionally prepared. |
Problem
Part of #554
Authentication providers can return identity claims, but only the Silo host owns local account roles, permissions, and access-group assignment. A directory provider therefore cannot synchronize Silo's coarse
user/adminrole from an external group without a host-side contract.The concrete consumer is techrelay/Silo-LDAP-Plugin#1, which evaluates configured direct LDAP or Active Directory group membership.
Approach
silo_role_managed=true;silo_role=userorsilo_role=admin;UserRepository, which owns the account persistence behavior;docs/plugins/auth-provider-managed-roles.md.Compatibility and risks
silo_role_managedcannot change existing roles, even if they already return a claim namedsilo_role;userwhen no managed claim is present;userandadmin; plugins cannot set arbitrary permissions, libraries, or access groups;Struct. Issue feat(auth): support auth-provider connection checks and managed role claims #554 asks whether typed SDK fields or constants should supersede the compatibility keys before merge.Testing
Focused tests cover:
Required repository checks:
Current verification status
action_requiredapproval gate before jobs were created.AI Disclosure
Checklist