fix default policy and add changelog

This commit is contained in:
David Christofas
2022-08-30 16:26:59 +02:00
committed by Ralf Haferkamp
parent 69de4616b5
commit e20b2b1536
2 changed files with 12 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
Enhancement: Refactor the proxy service
The routes of the proxy service now have a "unprotected" flag. This is used by the authentication middleware to determine if the request needs to be blocked when missing authentication or not.
https://github.com/owncloud/ocis/issues/4401
https://github.com/owncloud/ocis/pull/4461

View File

@@ -174,9 +174,13 @@ func DefaultPolicies() []config.Policy {
Unprotected: true,
},
{
Endpoint: "/app/", // /app or /apps? ocdav only handles /apps
Endpoint: "/app/list",
Backend: "http://localhost:9140",
Unprotected: true, // TODO check if this is safe
Unprotected: true,
},
{
Endpoint: "/app/", // /app or /apps? ocdav only handles /apps
Backend: "http://localhost:9140",
},
{
Endpoint: "/graph/",