Default `authorized_keys_enabled` setting to true
Compare changes
Sets the column default for the Application Setting authorized_keys_enabled
to true and rebuilds the authorized_keys
file.
https://gitlab.com/gitlab-org/gitlab-ee/issues/2738
EE installations that were upgraded to 9.3 stopped writing to the authorized_keys
file by default. The setting authorized_keys_enabled
was nil
. So additions and deletions of SSH keys had no effect on SSH operations.
When I added the setting, I mistakenly thought settings were merged with ApplicationSetting.defaults
. However, if there exists an ApplicationSetting
record, defaults
is never used.
master
(if it does - rebase it please)Fixes #2738 (closed)