diff --git a/pkg/services/contexthandler/contexthandler.go b/pkg/services/contexthandler/contexthandler.go index 302ab8de371..f8e97b8fb92 100644 --- a/pkg/services/contexthandler/contexthandler.go +++ b/pkg/services/contexthandler/contexthandler.go @@ -122,8 +122,10 @@ func (h *ContextHandler) Middleware(next http.Handler) http.Handler { defer span.End() reqContext := &contextmodel.ReqContext{ - Context: mContext, - SignedInUser: &user.SignedInUser{}, + Context: mContext, + SignedInUser: &user.SignedInUser{ + Permissions: map[int64]map[string][]string{}, + }, IsSignedIn: false, AllowAnonymous: false, SkipCache: false,