BigW Consortium Gitlab
Due to a Rails bug, fetching the application settings from Redis may prevent the attribute methods from being loaded for the `ApplicationSetting` model. More details here: https://github.com/rails/rails/issues/27348 There was also a secondary problem introduced by overriding these association methods which caused all default visibility levels to be set to `nil`. Before, the previous implementation allowed the string "20" to be saved as an integer, while now a table lookup happens before that. We fix this by enforcing the integer value in the controller and default to PRIVATE. Closes #29674
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
abuse_reports_controller.rb | Loading commit data... | |
appearances_controller.rb | Loading commit data... | |
application_controller.rb | Loading commit data... | |
application_settings_controller.rb | Loading commit data... | |
applications_controller.rb | Loading commit data... | |
background_jobs_controller.rb | Loading commit data... | |
broadcast_messages_controller.rb | Loading commit data... | |
builds_controller.rb | Loading commit data... | |
dashboard_controller.rb | Loading commit data... | |
deploy_keys_controller.rb | Loading commit data... | |
groups_controller.rb | Loading commit data... | |
health_check_controller.rb | Loading commit data... | |
hooks_controller.rb | Loading commit data... | |
identities_controller.rb | Loading commit data... | |
impersonation_tokens_controller.rb | Loading commit data... | |
impersonations_controller.rb | Loading commit data... | |
keys_controller.rb | Loading commit data... | |
labels_controller.rb | Loading commit data... | |
logs_controller.rb | Loading commit data... | |
projects_controller.rb | Loading commit data... | |
requests_profiles_controller.rb | Loading commit data... | |
runner_projects_controller.rb | Loading commit data... | |
runners_controller.rb | Loading commit data... | |
services_controller.rb | Loading commit data... | |
spam_logs_controller.rb | Loading commit data... | |
system_info_controller.rb | Loading commit data... | |
users_controller.rb | Loading commit data... |