diff --git a/internal/services/types/types.go b/internal/services/types/types.go index b70ff69..d89d22a 100644 --- a/internal/services/types/types.go +++ b/internal/services/types/types.go @@ -71,6 +71,9 @@ type User struct { Password string `json:"password,omitempty"` Tokens map[string]string `json:"tokens,omitempty"` + + // Admin defines if the user is a global admin + Admin bool `json:"admin,omitempty"` } type Organization struct {