feat(shared): auth_source constants and hq_user_id on User

Nothing writes them yet. They land now so phases 2 and 3 do not require a
second rebuild of every service that consumes the shared module.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
mrhid6andClaude Opus 5 committed 2026-07-26 12:52:15 +01:00
1 parent da3afca7fa
commit 17bcf4b5b9
2 files changed
+22 -2

No files matched your search

+6
View File
@@ -10,4 +10,10 @@ const (
RoleMember = shared.RoleMember
)
const (
AuthLocal = shared.AuthLocal
AuthOIDC = shared.AuthOIDC
AuthHQ = shared.AuthHQ
)
func ValidRole(role string) bool { return shared.ValidRole(role) }