discourse/plugins/poll/config/settings.yml
Martin Brennan 30be75460f
UX: Admin setting page consistency - Group permissions (#30528) (#30578)
* UX: Admin setting page consistency - Group permissions (#30528)

Followup c2282439b3 and
21470e4afd

Adds a new "Group permissions" page and group_permissions site
setting area, which shows every single group-based site setting
in the app and core plugins.

Also adds a "trust_levels" area to show on the already moved
admin "Trust level" settings page, since that previously was
showing a mix of trust level settings and allowed group settings.

* DEV: Review fixes
2025-01-07 11:25:21 +10:00

41 lines
858 B
YAML

plugins:
poll_enabled:
default: true
client: true
poll_maximum_options:
default: 20
min: 2
max: 100
client: true
poll_edit_window_mins:
default: 5
min: 0
poll_minimum_trust_level_to_create:
default: 1
client: true
enum: "TrustLevelSetting"
hidden: true
poll_create_allowed_groups:
default: "11" # auto group trust_level_1
type: group_list
client: false
allow_any: false
refresh: true
validator: "AtLeastOneGroupValidator"
area: "group_permissions"
poll_groupable_user_fields:
default: ""
type: list
client: true
poll_export_data_explorer_query_id:
default: -16
min: -9999
client: true
poll_export_ranked_choice_data_explorer_query_id:
default: -19
min: -9999
client: true
poll_default_public:
default: true
client: true