mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: hide enable_personal_email_messages and min_trust_to_send_email_messages
These site settings are very hard to explain and only applicable for very specific Discourse setups. If an admin "enables staged users" which is used in support scenarios then all staff can send "messages" directly to an "email". The setting allows you to extend this to TL4 or any trust level. Actual use case would be a support type setup with restricted staff. It is quite rare so hiding this for now and re-evaluate keeping the setting in 2019
This commit is contained in:
@@ -183,7 +183,7 @@ class TopicCreator
|
||||
rollback_with!(topic, :no_user_selected)
|
||||
end
|
||||
|
||||
if @opts[:target_emails].present? && !@guardian.cand_send_private_messages_to_email? then
|
||||
if @opts[:target_emails].present? && !@guardian.can_send_private_messages_to_email? then
|
||||
rollback_with!(topic, :reply_by_email_disabled)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user