プロジェクト

全般

プロフィール

Vote #81274

完了

Ability to set default value for "I don't want to be notified of changes that I make myself"

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
152
issue_org_id:
34787
author_id:
506901
assigned_to_id:
332
comments:
8
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Hello,

I search many possibilites to change the default value of no_self_notified when creating a new user.
Actually default is true.

line 54 to 56 in /app/models/user_preference.rb


unless attributes && attributes.key?(:no_self_notified)
  self.no_self_notified = true
end

might be :


unless attributes && attributes.key?(:no_self_notified)
  self.no_self_notified = Setting.default_users_no_self_notified
end

and add in config/settings.yml


default_users_no_self_notified:
  default: true

With this change, we can modify the default value without changing source code of Redmine.

this may be implemented in a future release ?

Regards,

Pierre


journals

--------------------------------------------------------------------------------
Here is a patch to implement the feature. Admin > Settings > Users will have "I don't want to be notified of changes that I make myself" checkbox.

!{width: 645px; border: 1px solid grey;}.settings.png!
--------------------------------------------------------------------------------
Thank you, this patch is exactly what i've needed.
--------------------------------------------------------------------------------
We should keep this ticket in "New" until the patch is committed.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,14574,"I don't want to be notified of changes that I make myself" as Default for all User
duplicates,Closed,24629,Add option to decide default value for "I don't want to be notified of changes that I make myself"

Admin Redmine さんが3年以上前に更新

  • カテゴリEmail notifications_9 にセット
  • 対象バージョン4.2.0_152 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0