FEATURE: Allow expanding hidden posts for groups in SiteSetting.can_see_hidden_post (#21853)

Allow expanding hidden posts for groups in SiteSetting.can_see_hidden_post
This commit is contained in:
锦心
2023-06-01 11:32:05 +08:00
committed by GitHub
parent 6fec9628a4
commit 96a2893284
16 changed files with 97 additions and 18 deletions

View File

@@ -1700,6 +1700,7 @@ en:
enable_badges: "Enable the badge system"
max_favorite_badges: "Maximum number of badges that user can select"
whispers_allowed_groups: "Allow private communication within topics for members of specified groups."
hidden_post_visible_groups: "Allow members of these groups to view hidden posts. Staff users can always view hidden posts."
allow_index_in_robots_txt: "Specify in robots.txt that this site is allowed to be indexed by web search engines. In exceptional cases you can permanently <a href='%{base_path}/admin/customize/robots'>override robots.txt</a>."
blocked_email_domains: "A pipe-delimited list of email domains that users are not allowed to register accounts with. Subdomains are automatically handled for the specified domains. Wildcard symbols * and ? are not supported. Example: mailinator.com|trashmail.net"

View File

@@ -336,6 +336,12 @@ basic:
default: ""
allow_any: false
refresh: true
hidden_post_visible_groups:
type: group_list
list_type: compact
default: "14"
allow_any: false
refresh: true
enable_bookmarks_with_reminders:
client: true
default: true