mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 11:52:56 +08:00
c532f6eb3d
This adds a new secure_uploads_pm_only site setting. When secure_uploads is true with this setting, only uploads created in PMs will be marked secure; no uploads in secure categories will be marked as secure, and the login_required site setting has no bearing on upload security either. This is meant to be a stopgap solution to prevent secure uploads in a single place (private messages) for sensitive admin data exports. Ideally we would want a more comprehensive way of saying that certain upload types get secured which is a hybrid/mixed mode secure uploads, but for now this will do the trick. |
||
---|---|---|
.. | ||
navigation_menu | ||
ace_editor.rb | ||
base.rb | ||
calendar_date_time_picker.rb | ||
category_list.rb | ||
composer.rb | ||
dialog.rb | ||
emoji_picker.rb | ||
fast_editor.rb | ||
group-card.rb | ||
legacy_header_dropdown.rb | ||
new_topic_list_toggle_tab.rb | ||
new_topic_list_toggle.rb | ||
select_kit.rb | ||
sidebar_header_dropdown.rb | ||
topic_list_controls.rb | ||
topic_list.rb | ||
topic_query_filter.rb | ||
topic_view.rb | ||
user_menu.rb |