diff --git a/pkg/models/user.go b/pkg/models/user.go index 221b27d6cc2..0e528818f02 100644 --- a/pkg/models/user.go +++ b/pkg/models/user.go @@ -184,7 +184,7 @@ type SignedInUser struct { LastSeenAt time.Time Teams []int64 // Permissions grouped by orgID and actions - Permissions map[int64]map[string][]string + Permissions map[int64]map[string][]string `json:"-"` } func (u *SignedInUser) ShouldUpdateLastSeenAt() bool {