From 7c68b5e0b31947445236a4af3bf0a1324e777c82 Mon Sep 17 00:00:00 2001 From: Acha Bill Date: Fri, 23 Feb 2024 16:11:03 +0100 Subject: [PATCH] fix: apply policy --- pkg/auth/auth.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/auth/auth.go b/pkg/auth/auth.go index 5638c29c26c..d1030f2cc7c 100644 --- a/pkg/auth/auth.go +++ b/pkg/auth/auth.go @@ -307,6 +307,7 @@ func applyPolicies(e *casbin.Enforcer) error { {"maintainer", "/redistributionstate", "GET"}, {"maintainer", "/debugstore", "GET"}, {"consumer", "/rchash", "GET"}, + {"maintainer", "/split", "POST"}, }) if err != nil {