-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix change permission on mail shares of folders #2530
Conversation
Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rullzer, @ChristophWurst and @schiessle to be potential reviewers. |
button works again but the permissions for "can edit" are wrong, they should be 15 (create, read, update, delete) |
Signed-off-by: Arthur Schiwon <[email protected]>
@schiessle please check again. Could there be any corner cases were we should not set it to 15? |
Yes for files. Files dont' get DELETE or CREATE permissions |
Signed-off-by: Arthur Schiwon <[email protected]>
@schiessle @rullzer should be settled now I hope. |
works great! 👍 |
👍 |
Why do we do this? Any reason why we don't have the regual checkboxes for mail shares as well (create/update/delete/share) ??? |
Because at the end it is a link share and the public link view can't really distinguish between this permissions. So we chose to use the same permissions we have for public links (either 1 or 15), at least for now. |
@blizzz js unit tests fail, can you have a look? Thanks! |
👀 |
how is that related? the output is as useful as a matchstick in the ocean. |
good question. I also can't reproduce it locally. Maybe just a rebase and let Drone try it once more? 😉 (can't judge if this is critical or not) |
I restarted the tests, but it fails on the same place. |
And no related changes in master since. |
On another this test succeeds, so it has something to do with the changes, somewhow. A stacktrace could be helpful, but somehow the suite does not print it out? I get the same error. autotest-js.sh is your friend. Investigating. |
… some fruitless attempts to get the stack trace later tests succeed without further changes. 🏴
Cannot restart from the UI anymore. So, |
Signed-off-by: Arthur Schiwon <[email protected]>
Current coverage is 57.21% (diff: 100%)@@ master #2530 diff @@
==========================================
Files 1202 1202
Lines 72470 72477 +7
Methods 7365 7365
Messages 0 0
Branches 1228 1229 +1
==========================================
+ Hits 41463 41465 +2
- Misses 31007 31012 +5
Partials 0 0
|
Test succeeded now without actual changes 🃏 waiting for the rest and then 🚢 |
LGTM not working somehow, but approvals from @schiessle and @skjnldsv (#2530 (comment) && #2530 (comment)) thus merging. |
As found in #2398 (comment)
Please test and review @schiessle @rullzer @ChristophWurst