Build sync_gateway-3.1.0-163 contains sync_gateway commit daec670 with commit message: : Fix resetting disable_password_auth to false (#5562)
Bruno Alves June 8, 2022 at 3:07 PM
To clarify, on PUT workaround, the UI would have to send the whole DB config again, correct? If so, I can talk to Seth (UI person).
My concern there is that, while a user is changing the security settings, another user can be changing other properties, like sync function or import filter and cause a bad experience and inconsistencies.
Adam Fraser June 8, 2022 at 2:56 PM
Have discussed with Bruno, plan to use PUT database to workaround this issue in Capella for the time being. can you confirm that this workaround is sufficient for all control plane use cases?
Marks Polakovs June 8, 2022 at 12:57 PM
Edited
Setting fixVersion=Helium, but I get the feeling that this might need to be back-ported elsewhere for Capella as well (if so, where?) - /cc ,
Marks Polakovs June 8, 2022 at 8:40 AM
Reproduced, will put a fix together.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
POST to update db config DisablePasswordAuth to true works, but if POST again to set back to false, returns 201 Created but does not update the field.
Tested on master (3.1), possibly also in 3.0.1 due to backport
Possibly related to work on:
https://couchbasecloud.atlassian.net/browse/CBG-2026
Possibly related to field `bool` vs `*bool`
https://github.com/couchbase/sync_gateway/blob/master/rest/config.go#L145
Initial state
Update to true
Update to false