Skip to content

Conversation

@rawe0
Copy link
Member

@rawe0 rawe0 commented Dec 19, 2025

This PR contains the following:

  • Adds functionality to store embedded shares (where the shared data is embedded in the share)
  • Adds filters to ListReceivedOCMShares call and adapts to the new fields SharedResourceType and RecipientType
  • Adds an endpoint to list embedded shares (using the previously mentioned filters)

@update-docs
Copy link

update-docs bot commented Dec 19, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@rawe0 rawe0 changed the title Handle ro crate OCM: Handle ROCrate Dec 22, 2025
@rawe0 rawe0 force-pushed the handle-ro-crate branch 7 times, most recently from 88174ee to 0d1d842 Compare December 25, 2025 21:33
@rawe0 rawe0 marked this pull request as ready for review December 25, 2025 22:32
Copy link
Member

@glpatcern glpatcern left a comment

Choose a reason for hiding this comment

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

It looks generally good though there are some changes. I'm going to stack another PR on top of this one so please once you're back just add commits without overwriting the history ;-)

w.WriteHeader(http.StatusOK)
}

func CS3ResourcePermissionsToUnifiedRole(ctx context.Context, p *storageprovider.ResourcePermissions) *libregraph.UnifiedRoleDefinition {
Copy link
Member

Choose a reason for hiding this comment

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

This and the following funcs / structs should already exist in the generic conversions utilities (and if not, they should go there) as they are not specific to the embedded OCM protocol.

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