Skip to content

fix(ocm): align core share schemas - #440

Open
MahdiBaghbani wants to merge 3 commits into
ocm-spec-ip-schemasfrom
ocm-spec-core-schema-alignment
Open

MahdiBaghbani wants to merge 3 commits into
ocm-spec-ip-schemasfrom
ocm-spec-core-schema-alignment

Conversation

@MahdiBaghbani

@MahdiBaghbani MahdiBaghbani commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

This PR is part of cs3org/OCM-STA#57 and addresses #435

Summary

Align core share fields and encryption metadata with the draft and clarify MIME type uniqueness

WebDAV permissions and requirements are optional but nonempty when present

Omitted permissions leave access to sender authorization and receivers must understand and enforce the selected protocol's requirements

@MahdiBaghbani

Copy link
Copy Markdown
Member Author
  • I made WebDAV permissions optional to match the draft. The field is still there, but is that optionality actually intended?
  • ocm-gpg was a typo; the registry and examples already use ocm-pgp.
  • For WebDAV requirements, I think we should keep "nonempty if present" and enforce it in both the schema and draft. If there are no requirements, omit the field.

@MahdiBaghbani
MahdiBaghbani force-pushed the ocm-spec-core-schema-alignment branch from a25fb5d to 224774e Compare November 16, 2026 06:52
@mickenordin
mickenordin force-pushed the ocm-spec-core-schema-alignment branch from 224774e to 75f2a03 Compare November 16, 2026 08:54
@MahdiBaghbani
MahdiBaghbani force-pushed the ocm-spec-core-schema-alignment branch from 75f2a03 to 303c820 Compare November 16, 2026 11:39
@MahdiBaghbani
MahdiBaghbani removed this pull request from stack #429 November 17, 2026 19:59
@MahdiBaghbani
MahdiBaghbani force-pushed the ocm-spec-core-schema-alignment branch from 303c820 to 0b2e91c Compare November 17, 2026 20:01
@MahdiBaghbani
MahdiBaghbani added this pull request to stack #446 November 17, 2026 20:03
@glpatcern
glpatcern force-pushed the ocm-spec-core-schema-alignment branch from 0b2e91c to 98a169a Compare November 18, 2026 13:50
@MahdiBaghbani
MahdiBaghbani force-pushed the ocm-spec-core-schema-alignment branch from 98a169a to fe25473 Compare November 21, 2026 15:21
@MahdiBaghbani

Copy link
Copy Markdown
Member Author

Both WebDAV arrays are now optional and nonempty when present in the draft and schema

Omitted permissions stay unspecified and the sender decides access

Receivers must understand and enforce the selected protocol's requirements or reject the share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant