Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Share type added to specify Share purpose. #109

Merged
merged 13 commits into from
Mar 4, 2021

Conversation

redblom
Copy link
Contributor

@redblom redblom commented Mar 3, 2021

It should be possible to persist the purpose of the share together with the share itself, so the application can act accordingly when eg. a received share is accepted. For this the share_type field is defined.
Currently SHARE and TRANSFER share types are acknowledged.
See cs3org/reva#1242 (comment).

@redblom redblom requested a review from labkode as a code owner March 3, 2021 10:23
@redblom
Copy link
Contributor Author

redblom commented Mar 3, 2021

The enforced default share type enum value SHARE_TYPE_INVALID is ugly. Now the existing code creates invalid share types by default.

@ishank011
Copy link
Contributor

Please run make before pushing

@ishank011
Copy link
Contributor

We need to make sure to specify SHARE_TYPE_REGULAR at all places in the existing code.

cs3/sharing/ocm/v1beta1/resources.proto Outdated Show resolved Hide resolved
cs3/sharing/ocm/v1beta1/resources.proto Outdated Show resolved Hide resolved
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.

2 participants