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

Implement revoking a share by the sender for OCM group share #75

Open
navid-shokri opened this issue Jan 31, 2023 · 4 comments
Open

Implement revoking a share by the sender for OCM group share #75

navid-shokri opened this issue Jan 31, 2023 · 4 comments
Assignees

Comments

@navid-shokri
Copy link
Collaborator

No description provided.

@michielbdejong michielbdejong changed the title impelementing revoke share by the sender for OCM group share Implement revoking a share by the sender for OCM group share Jan 31, 2023
@navid-shokri navid-shokri self-assigned this Feb 6, 2023
@navid-shokri
Copy link
Collaborator Author

navid-shokri commented Feb 6, 2023

in user-to-user federated sharing when the sender (einstein) revokes the share (clicking on the trash bin icon) shared file will be removed from the receiver's (marine) file list.

but in user-to-group sharing when einstein revokes the sharing, the shared file is accessible to Marie.

@navid-shokri
Copy link
Collaborator Author

navid-shokri commented Feb 6, 2023

@navid-shokri
Copy link
Collaborator Author

after debuging I found that we are setting share_type to 6 (SHARE_TYPE_REMOTE) while it should be 7 (SHARE_TYPE_REMOTE_GROUP) .

so, I created another issue #87 to resolve this problem and after that I will continue this thread.

@michielbdejong
Copy link
Contributor

@yasharpm you said that a unit test exists for this, but I can't find it, is it in https://github.com/pondersource/oc-opencloudmesh/blob/main/opencloudmesh/tests/Controller/OcmControllerTest.php somewhere?

@thepeak99 thepeak99 assigned yasharpm and unassigned navid-shokri Jun 13, 2023
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

No branches or pull requests

3 participants