daemon: extract identity and access gate #1934
Notifications
Due Date
No due date set.
Blocks
#1920 Effective Go: critical paths
sam/archie
Reference: sam/archie#1934
Reference in new issue
Block a user
Move identity, org and access checks with their dependencies off Daemon into a type implementing orgResolver, shared by binding dispatch, polling and the task bus.
Done when Daemon holds a pointer to it and no identity/access field remains on Daemon.
Done in
bdc457d1: IdentityGate owns the identity repository, agent assignments, access chain, principals, denials and workspace lister; binding dispatch, polling, review scanning and the task bus read identity through it. task check passed.