feat: migrate project secrets and user-scoped colors
This commit is contained in:
1 parent
dcfdb3d7af
commit
0e450d53de
9 files changed
+263
-7
No files matched your search
@@ -126,7 +126,7 @@ func normalizeInfo(info Info) Info {
|
||||
// Handler is the X-Internal-Auth-gated PUT /api/core-services/internal endpoint
|
||||
// ProjectConfigurator calls to push a fresh Info: mount it at that path (see
|
||||
// ProjectConfigurator/README.md) behind a secret check for this service's own
|
||||
// INTERNAL_SERVICE_SECRET (the same value ProjectConfigurator and CarrierNode were configured
|
||||
// SECRET (the same value ProjectConfigurator and CarrierNode were configured
|
||||
// with - an empty secret refuses every caller, the same fail-closed default ProjectConfigurator's
|
||||
// own internal-auth-gated routes use).
|
||||
func Handler(secret string, store *Store) http.HandlerFunc {
|
||||
|
||||
Reference in new issue
Block a user