Skip to content

Commit

Permalink
Merge pull request #2444 from samvera/pitt-account-settings-follow-up
Browse files Browse the repository at this point in the history
Pitt account settings follow up
  • Loading branch information
ShanaLMoore authored Feb 4, 2025
2 parents b0de624 + c5e8b29 commit 82b186e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/models/concerns/account_settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ module AccountSettings
setting :allow_downloads, type: 'boolean', default: true
setting :allow_signup, type: 'boolean', default: true
setting :analytics_provider, type: 'string'
setting :batch_email_notifications, type: 'boolean', default: false
setting :batch_email_notifications, type: 'boolean', default: false, disabled: true
setting :bulkrax_field_mappings, type: 'json_editor', default: Hyku.default_bulkrax_field_mappings.to_json
setting :bulkrax_validations, type: 'boolean', disabled: true
setting :cache_api, type: 'boolean', default: false
setting :contact_email, type: 'string', default: '[email protected]'
setting :contact_email_to, type: 'string', default: '[email protected]'
setting :depositor_email_notifications, type: 'boolean', default: false
setting :depositor_email_notifications, type: 'boolean', default: false, disabled: true
setting :doi_reader, type: 'boolean', default: false
setting :doi_writer, type: 'boolean', default: false
setting :file_acl, type: 'boolean', default: true, private: true
Expand All @@ -52,7 +52,7 @@ module AccountSettings
setting :smtp_settings, type: 'hash', private: true, default: {}
setting :solr_collection_options, type: 'hash', default: solr_collection_options
setting :ssl_configured, type: 'boolean', default: true, private: true
setting :user_analytics, type: 'boolean', default: false
setting :user_analytics, type: 'boolean', default: false, disabled: true
setting :weekly_email_list, type: 'array', disabled: true
setting :yearly_email_list, type: 'array', disabled: true

Expand Down
5 changes: 1 addition & 4 deletions spec/models/concerns/account_settings_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@
expect(account.public_settings(is_superadmin: true).keys.sort).to eq %i[allow_downloads
allow_signup
analytics_provider
batch_email_notifications
bulkrax_field_mappings
cache_api
contact_email
contact_email_to
depositor_email_notifications
doi_reader
doi_writer
email_domain
Expand All @@ -32,8 +30,7 @@
s3_bucket
smtp_settings
solr_collection_options
ssl_configured
user_analytics]
ssl_configured]
end
# rubocop:enable RSpec/ExampleLength
end
Expand Down

0 comments on commit 82b186e

Please sign in to comment.