Feature #44052 ยป 0001-Enable-sudo-mode-by-default.patch
| config/configuration.yml.example | ||
|---|---|---|
|
# Requires users to re-enter their password for sensitive actions (editing
|
||
|
# of account data, project memberships, application settings, user, group,
|
||
|
# role, auth source management and project deletion). Disabled by default.
|
||
|
# Timeout is set in minutes.
|
||
|
# role, auth source management and project deletion). Enabled by default,
|
||
|
# set to false to disable. Timeout is set in minutes.
|
||
|
#
|
||
|
#sudo_mode: true
|
||
|
#sudo_mode: false
|
||
|
#sudo_mode_timeout: 15
|
||
|
# Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
|
||
| lib/redmine/configuration.rb | ||
|---|---|---|
|
'avatar_server_url' => 'https://www.gravatar.com',
|
||
|
'email_delivery' => nil,
|
||
|
'max_concurrent_ajax_uploads' => 2,
|
||
|
'sudo_mode' => true,
|
||
|
'common_mark_enable_hardbreaks' => true,
|
||
|
'thumbnails_generation_timeout' => 10,
|
||
|
'markdownized_preview_generation_timeout' => 10,
|
||
| test/unit/lib/redmine/configuration_test.rb | ||
|---|---|---|
|
def test_empty
|
||
|
assert_kind_of Hash, load_conf('empty.yml', 'test')
|
||
|
assert_equal true, @conf['sudo_mode']
|
||
|
end
|
||
|
def test_default
|
||