diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-23 15:33:14 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-23 15:33:14 -0600 |
| commit | 7963e072161907e81544dcdc2ff04a49c9359096 (patch) | |
| tree | 54c8c34feda2cdeee46cdf662d18d89889a7d609 /app/controllers/sparkles/controller.go | |
| parent | f861b0df276d26ef8db1e27678f807d22dabd6e3 (diff) | |
refactor: remove create permission check
Diffstat (limited to 'app/controllers/sparkles/controller.go')
| -rw-r--r-- | app/controllers/sparkles/controller.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sparkles/controller.go b/app/controllers/sparkles/controller.go index ef2ecd5..90767b2 100644 --- a/app/controllers/sparkles/controller.go +++ b/app/controllers/sparkles/controller.go @@ -30,7 +30,7 @@ func (c *Controller) MountTo(mux *http.ServeMux) { mux.Handle("POST /sparkles", x.Middleware[http.Handler]( http.HandlerFunc(c.Create), middleware.RequireUser(), - middleware.RequirePermission("create", c.check), + // middleware.RequirePermission("create", c.check), )) // This is a temporary endpoint to restore a backup |
