Add an ocm service exposing the ocm related http and grpc APIs

This commit is contained in:
André Duffeck
2023-10-13 10:04:04 +02:00
parent 3eea26390c
commit 668f917dba
32 changed files with 934 additions and 3 deletions
@@ -143,6 +143,14 @@ func DefaultPolicies() []config.Policy {
Service: "com.owncloud.web.frontend",
Unprotected: true,
},
{
Endpoint: "/sciencemesh/",
Service: "com.owncloud.web.ocm",
},
{
Endpoint: "/ocm/",
Service: "com.owncloud.web.ocm",
},
{
Endpoint: "/ocs/",
Service: "com.owncloud.web.frontend",
@@ -25,6 +25,8 @@ var (
_publicPaths = [...]string{
"/dav/public-files/",
"/dav/ocm/",
"/ocm/",
"/remote.php/dav/public-files/",
"/ocs/v1.php/apps/files_sharing/api/v1/tokeninfo/unprotected",
"/ocs/v2.php/apps/files_sharing/api/v1/tokeninfo/unprotected",