fix(settings): Fix sharing exclude groups from password requirement option not working#47674
Conversation
92e8cc0 to
f1c210a
Compare
susnux
left a comment
There was a problem hiding this comment.
👍
...This settings are pure horror to me, maybe this is something that should be done as declarative settings...
|
True, that would prevent bugs like these. Unfortunately there is still not proper type-safe PHP abstraction available, but it shouldn't be too hard to create. |
|
Created #47688 :) |
…ption not working Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
f1c210a to
8b79053
Compare
|
/backport to stable30 |
|
/backport to stable29 |
|
/backport to stable28 |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
The backport to # Switch to the target branch and update it
git checkout stable28
git pull origin stable28
# Create the new backport branch
git checkout -b backport/47674/stable28
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick c88ae378 8b790535 8aa969b9
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/47674/stable28Error: Failed to clone repository: Failed to checkout branches: Updating 1cc7851..5118f66
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
|
The backport to # Switch to the target branch and update it
git checkout stable29
git pull origin stable29
# Create the new backport branch
git checkout -b backport/47674/stable29
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick c88ae378 8b790535 8aa969b9
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/47674/stable29Error: Failed to clone repository: Failed to checkout branches: Updating 1cc7851..5118f66
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
|
The backport to # Switch to the target branch and update it
git checkout stable30
git pull origin stable30
# Create the new backport branch
git checkout -b backport/47674/stable30
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick c88ae378 8b790535 8aa969b9
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/47674/stable30Error: Failed to clone repository: Failed to checkout branches: Updating 1cc7851..5118f66
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
Summary
In the backend the appconfig key is
shareapi_enforce_links_password_excluded_groups. The key in the initial state needs to match this as it is used to save the config.To the user it looked like the option wasn't saved because a reload would not show the saved data because it was read from a different key than it was written to.
Checklist