-
Notifications
You must be signed in to change notification settings - Fork 53
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
Do not update permissions or attributes if other share fields gets updated #313
Conversation
Codecov Report
@@ Coverage Diff @@
## master #313 +/- ##
========================================
Coverage 4.46% 4.46%
Complexity 306 306
========================================
Files 14 14
Lines 1188 1188
========================================
Hits 53 53
Misses 1135 1135 Continue to review full report at Codecov.
|
6887015
to
a4887d3
Compare
With manual testing this looks to work nicely. Whenever "Secure view" is checked, all the other permissions are switched off (= read-only). Whenever some other permission is checked, secure view is switched off. Rebased to trigger CI. The workflow of the permissions checkboxes and expiration date is a bit different from what is in tests. Probably CI will fail - issue #316 I will look at adjusting the acceptance tests. |
As I see it now, when a user creates a share they can share with:
As far as I can see manually this is all working fine. I just need to adjust the acceptance test scenarios to cover the above kind of things. |
If we can get core PR owncloud/core#36847 merged today, then I will fix the acceptance tests here. (I don't want to bother fixing here until we at least think we have the stable solution finalized in core) |
This turned out to be just a missing table headers row in the adjusted step of the failing scenario. I added a commit and it passes. I also made a core PR owncloud/core#36862 so that the test step gets our (recently) "standard" checks for this sort of problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WFM from a QA point-of-view.
I requested review from developers.
IMO we can merge this, then directly after 10.4 release we can also release this (and decide if we have to bump owncloud min-version="10.3"
to 10.4
in appinfo/info.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Update share can update any field in share interface separately. This MR ensures that attributes get updated only if attribute or permission fields got updated.