feat: implement path block and user block

Fixes #313
This commit is contained in:
Stavros
2025-08-29 16:19:44 +03:00
parent 598abc5fe1
commit 26deb80f4c
2 changed files with 29 additions and 10 deletions

View File

@@ -112,7 +112,7 @@ func (controller *ProxyController) proxyHandler(c *gin.Context) {
return
}
authEnabled, err := controller.Auth.IsAuthEnabled(uri, labels.Path.Allow)
authEnabled, err := controller.Auth.IsAuthEnabled(uri, labels.Path)
if err != nil {
log.Error().Err(err).Msg("Failed to check if auth is enabled for resource")