Skip to content

OCM: implement new webapp protocol#274

Merged
glpatcern merged 3 commits into
cs3org:mainfrom
glpatcern:ocm-new-webapp
Jun 15, 2026
Merged

OCM: implement new webapp protocol#274
glpatcern merged 3 commits into
cs3org:mainfrom
glpatcern:ocm-new-webapp

Conversation

@glpatcern

@glpatcern glpatcern commented Jun 10, 2026

Copy link
Copy Markdown
Member

In this PR we introduce support for the new payload of OCM webapp shares, as discussed and agreed in cs3org/OCM-API#368.

We're also adding an optional hidden field to the ocm.ReceivedShare message, similar to ReceivedShare.hidden.

This is a breaking change, which we agreed within the OCM collaboration as the only working implementation of webapps is/was CERNBox, with the PoC we have done a few years ago. For this reason I didn't leave the dropped fields as [deprecated]. We plan to adapt our implementation to the new payload in the coming weeks.

In addition, the permissions for both the webdav and webapp OCM protocols were reviewed: we now use the ResourcePermissions message as opposed to a custom OCM message that did not bring any added value. The corresponding field for the webdav protocol is marked as [deprecated].

@glpatcern glpatcern requested a review from rawe0 June 10, 2026 13:05
Comment thread cs3/sharing/ocm/v1beta1/resources.proto Outdated
@MahdiBaghbani

Copy link
Copy Markdown
Member

nice 😄

Comment thread cs3/sharing/ocm/v1beta1/resources.proto Outdated
Comment thread cs3/ocm/incoming/v1beta1/ocm_incoming_api.proto Outdated
@glpatcern glpatcern requested a review from rawe0 June 13, 2026 08:54
Comment thread cs3/sharing/ocm/v1beta1/resources.proto

@rawe0 rawe0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be merged from my perspective, I'm happy with this.

@glpatcern

Copy link
Copy Markdown
Member Author

Given that this is backwards-compatible for OCM webdav, and that we are reimplementing the wiring of the OCM webapp in CS3 Reva, I'll go ahead and merge this.

@glpatcern glpatcern merged commit 2c9f0b5 into cs3org:main Jun 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants