mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
fix default policy and add changelog
This commit is contained in:
committed by
Ralf Haferkamp
parent
69de4616b5
commit
e20b2b1536
6
changelog/unreleased/refactor-proxy.md
Normal file
6
changelog/unreleased/refactor-proxy.md
Normal 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
|
||||
@@ -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/",
|
||||
|
||||
Reference in New Issue
Block a user