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

[OCM] Switching from view to edit permissions not working #10939

Open
kobergj opened this issue Jan 28, 2025 · 1 comment
Open

[OCM] Switching from view to edit permissions not working #10939

kobergj opened this issue Jan 28, 2025 · 1 comment

Comments

@kobergj
Copy link
Collaborator

kobergj commented Jan 28, 2025

Describe the bug

On federated shares one cannot switch from edit to view permissions or vice versa

Steps to reproduce

  1. Setup two ocis instances with ocm configured
  2. Share a file or folder from one instance to another with edit permissions
  3. Switch permissions to view

Expected behavior

The federated share has now view permissions

Actual behavior

An error occurs, the file has still edit permissions

Setup

ocm needs to be configured

Additional context

Workaround: delete the share and create a new one

@kobergj
Copy link
Collaborator Author

kobergj commented Jan 28, 2025

Needs discussion: Updating a share is NOT supported by the ocm spec. Recommended way is to remove the share and create a new one. https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org

Implementing this would require to build this from scratch. Means spec, endpoints and frontend.

One way or another this is not a bug - it works as designed.

cc @dj4oC @unbekanntes-pferd

@kobergj kobergj moved this from Prio 1 to blocked in Infinite Scale Team Board Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: blocked
Development

No branches or pull requests

1 participant