code cleanup

This commit is contained in:
Christoph Haas
2025-01-11 22:56:25 +01:00
parent 26d3257516
commit 63d85d8123
6 changed files with 31 additions and 22 deletions

View File

@@ -12,8 +12,11 @@ import (
const CtxUserInfo = "userInfo"
const (
CtxSystemAdminId = "_WG_SYS_ADMIN_"
CtxUnknownUserId = "_WG_SYS_UNKNOWN_"
CtxSystemAdminId = "_WG_SYS_ADMIN_"
CtxUnknownUserId = "_WG_SYS_UNKNOWN_"
CtxSystemLdapSyncer = "_WG_SYS_LDAP_SYNCER_"
CtxSystemWgImporter = "_WG_SYS_WG_IMPORTER_"
CtxSystemV1Migrator = "_WG_SYS_V1_MIGRATOR_"
)
type ContextUserInfo struct {