-
Notifications
You must be signed in to change notification settings - Fork 187
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
Differences of OC10 and OCIS share permissions #4052
Comments
From what I understand there a 3 different issues here. The web UI should
The rest seems correct behavior to me. Please correct me if I am wrong Maybe some extra words regarding public links: |
The web ui checks for an exact permission match. The permissions for |
@SwikritiT i checked most of the mentioned permissions manually seconds ago, For example so the detail here is the Long story short, can you ping me that we can have a look into it together and bring more light into the dark 🤗 Beside that i started working on a pr that only provides the available roles to the ui. |
i added a card in our beta board which will be discussed tomorrow after our standup to decide how we proceed https://github.com/owncloud/web/projects/7#card-83655801 |
Thanks! Didn't know about the |
Cool 😎 feel free to ping us whenever we can help, looking forward to speak to you in person 😘 |
@SwikritiT Thank you for digging, you brought up a very heavy topic where we need to fight a lot of technical debt. |
I made this a p1 because we currently have a regression with that. Let me dig deeper and follow up. |
needs separate ticket after discussion with @kobergj This topic is resolved as far as the UI is involved |
There are some inconsistencies in sharing permission in OC10 and OCIS and due to this various tests are failing in recent ocis id bump PR: owncloud/web#7178 if this behavior is expected and remains consistent then we might need to adjust tests according to the different behavior of the respective servers
Group share
1. Default - Permission 31
custom permission (all checked)
Editor
2. Permission 1
Custom Permission (Read checked)
3. Permission 2
Custom Permission (update checked)
4. Permission 3
Custom Permission (read+update checked)
5. Permission 4
Custom Permission (create checked)
6. Permission 5
Custom Permission (read+create checked)
7. Permission 6
Custom Permission (update+create checked)
8. Permission 7
Custom Permission (read+update+create checked)
9. Permission 8
Custom Permission (delete checked)
10. Permission 9
Custom Permission (read+delete checked)
11. Permission 15
Editor
Custom permissions (read+update+create+delete checked)
12. Permission 16
custom permission (nothing checked - probably because reshare isn't fully implemented yet)
for this the API gives 200 and the share isn't shown for receiver in UIcustom permission (share checked)
13. Permission 17 (Share+ read)
custom permission (read checked)
Viewer
14. Permission 19 (Share+ read+update)
custom permission (read and update checked)
custom permission (read+update+share checked)
User Share
1. Default - Permission 31
custom permission (all checked)
Editor
2. Permission 1
Custom permission (read checked)
3. Permission 2
Custom Permission (update checked)
4. Permission 3
Custom Permission (read+update checked)
5. Permission 4
Custom Permission (create checked)
6. Permission 5
Custom Permission (read+create checked)
7. Permission 6
Custom Permission (update+create checked)
8. Permission 7
Custom Permission (read+update+create checked)
9. Permission 8
Custom Permission (delete checked)
10. Permission 9
Custom Permission (read+delete checked)
11. Permission 15
Editor
Custom permissions (read+update+create+delete checked)
12. Permission 16
custom permission (nothing checked - probably because reshare isn't fully implemented yet)
for this the API gives 200 and the share isn't shown for receiver in UIcustom permission (share checked)
13. Permission 17 (Share+ read)
custom permission (read checked)
viewer
14. Permission 19 (Share+ read+update)
custom permission (read and update checked)
custom permission (read + update + share checked)
Link Share
1. Default - Permission 1
viewer
2. Permission 2
1
is created.Viewer
role assigned.3. Permission 3
Permission 3
web#71641
is created.Viewer
role assigned.4. Permission 4
Uploader
Uploader
5. Permission 5
Contributor
Contributor
6. Permission 6
1
is created.Viewer
role assigned.7. Permission 7
1
is created.Viewer
role assigned.8. Permission 8
1
is created.Viewer
role assigned.9. Permission 9
1
is created.Viewer
role assigned.10. Permission 15
Editor
Editor
11. Permission 16
1
is created.Viewer
role assigned.12. Permission 17 (Share+ read)
1
is created.Viewer
role assigned.13. Permission 19 (Share+ read+update)
1
is created.Viewer
role assigned.The text was updated successfully, but these errors were encountered: