From dc07868d153f00d2d9f3e4582dde0591f268079c Mon Sep 17 00:00:00 2001 From: LandaMm Date: Tue, 24 Jun 2025 19:01:26 +0200 Subject: [PATCH] feat: call permissions ensure --- cmd/hspguard/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/hspguard/main.go b/cmd/hspguard/main.go index 6d68f01..b444cf9 100644 --- a/cmd/hspguard/main.go +++ b/cmd/hspguard/main.go @@ -45,6 +45,7 @@ func main() { cache := cache.NewClient(&cfg) user.EnsureAdminUser(ctx, &cfg, repo) + user.EnsureSystemPermissions(ctx, repo) server := api.NewAPIServer(fmt.Sprintf("%s:%s", cfg.Host, cfg.Port), repo, fStorage, cache, &cfg) if err := server.Run(); err != nil {