Changeset 0.28.0.4 (#176)
This commit is contained in:
@@ -929,7 +929,7 @@ func main() {
|
||||
}
|
||||
|
||||
// Public global settings (non-admin users can read safe subset)
|
||||
adm := handlers.NewAdminHandler(stores, keyResolver, uekCache)
|
||||
adm := handlers.NewAdminHandler(stores, keyResolver, uekCache, objStore)
|
||||
protected.GET("/settings/public", adm.PublicSettings)
|
||||
|
||||
// Extensions (user-facing)
|
||||
@@ -944,7 +944,7 @@ func main() {
|
||||
admin.Use(middleware.Auth(cfg))
|
||||
admin.Use(middleware.RequireAdmin())
|
||||
{
|
||||
adm := handlers.NewAdminHandler(stores, keyResolver, uekCache)
|
||||
adm := handlers.NewAdminHandler(stores, keyResolver, uekCache, objStore)
|
||||
|
||||
// User management
|
||||
admin.GET("/users", adm.ListUsers)
|
||||
|
||||
Reference in New Issue
Block a user