New mount setting: read only mount#36397
Conversation
Codecov Report
@@ Coverage Diff @@
## master #36397 +/- ##
============================================
- Coverage 64.68% 64.68% -0.01%
- Complexity 19105 19106 +1
============================================
Files 1269 1269
Lines 74721 74728 +7
Branches 1320 1320
============================================
+ Hits 48333 48337 +4
- Misses 26000 26003 +3
Partials 388 388
Continue to review full report at Codecov.
|
|
@mmattel I restarted the CI. I would be glad if we could cover this with tests. |
b755aa4 to
934bf06
Compare
|
@micbar there are only two tests I found using |
eda0300 to
f3423aa
Compare
There was a problem hiding this comment.
THX @mmattel
- squash commits
- use a descriptive commit message - the PR title would work
|
@mmattel THX for the Changelog :-) |
f3423aa to
6d7b043
Compare
|
@DeepDiver1975 squashed and rebased |
|
@jvillafanez mind merging? |
You need @DeepDiver1975 to approve, he requested the changes. |
|
Ping? |
|
@DeepDiver1975 ping for re-review. |
|
@DeepDiver1975 @micbar ping? |
|
@pmaier1 @micbar In the same way I agreed my contribution/maintenance in the other PR, I do the same here. Hope this helps to proceed. @phil-davis I would appreciate your assistance for the tests |
6d7b043 to
714368f
Compare
review comments have been addressed
714368f to
70bbdb7
Compare
|
@individual-it plese review the test that I added (latest commit) |
tests/acceptance/features/webUIAdminSettings/adminStorageSettings.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/bootstrap/WebUIAdminStorageSettingsContext.php
Outdated
Show resolved
Hide resolved
70bbdb7 to
c440cdd
Compare
review comments have been addressed
c440cdd to
250058f
Compare
|
@individual-it ready for review of tests again |
|
@micbar this is the other PR from @mmattel @TJHeeringa that is a waiting feature. OK to also get this in 10.4 ? |
250058f to
581d3ce
Compare
individual-it
left a comment
There was a problem hiding this comment.
acceptance tests look good
581d3ce to
2a19481
Compare
|
I merged to master because the code and tests have both been reviewed, this is wanted, and we are editing acceptance test code in a similar area for other stuff. I have made a "backport" PR #36680 to 10.4 release branch. |
This is an update to #33035 which was closed in favour of the ownCloud 10 codebase.
The original PR was filed by @TJHeeringa
Description
Provide an option in the mount settings for setting a mount to be read only
Related Issue
Motivation and Context
Provide a mount in read only mode.
How Has This Been Tested?
Local tests. Create a mount in master, switch to branch, read only is false. Set the option read only either on an existing mount or a new mount provides the mount in read only mode. Sync client syncs and tells on local changes that you do not have permission to write to.
Screenshots (if appropriate):
Types of changes
Checklist: