diff --git a/httpd/webadmin.go b/httpd/webadmin.go index aac69ffc..f5172e98 100644 --- a/httpd/webadmin.go +++ b/httpd/webadmin.go @@ -1808,7 +1808,10 @@ func (s *httpdServer) handleWebAdminSetupGet(w http.ResponseWriter, r *http.Requ func (s *httpdServer) handleWebAddAdminGet(w http.ResponseWriter, r *http.Request) { r.Body = http.MaxBytesReader(w, r.Body, maxRequestSize) - admin := &dataprovider.Admin{Status: 1} + admin := &dataprovider.Admin{ + Status: 1, + Permissions: []string{dataprovider.PermAdminAny}, + } s.renderAddUpdateAdminPage(w, r, admin, "", true) } diff --git a/templates/webadmin/groups.html b/templates/webadmin/groups.html index e8d061b9..7bf8e474 100644 --- a/templates/webadmin/groups.html +++ b/templates/webadmin/groups.html @@ -80,10 +80,12 @@ + +