discourse-shared-edits/config/settings.yml
Sam 4e51a4e231
Some checks failed
Discourse Plugin / ci (push) Has been cancelled
FEATURE: allow shared edits to be enabled on any group (#163)
Allow sites to choose which groups can enable or disable shared edits instead of hardcoding staff and TL4 users. Expose the permission on the current user serializer so the admin menu can hide toggle actions for unauthorized users.

Add rate limits to privileged reset and recover endpoints, and update specs, acceptance tests, docs, and settings copy for the new permission model.

* Update config/settings.yml

Co-authored-by: Martin Brennan <martin@discourse.org>

* fix spec

---------

Co-authored-by: Martin Brennan <martin@discourse.org>
2026-06-25 16:28:07 +10:00

23 lines
536 B
YAML

plugins:
shared_edits_enabled:
default: true
client: true
shared_edits_editor_mode:
default: "markdown"
client: true
type: enum
choices:
- markdown
- rich
shared_edits_commit_delay_seconds:
default: 30
min: 5
max: 300
shared_edits_toggle_allowed_groups:
default: "1|2|14" # @admins, @moderators, @trust_level_4
type: group_list
list_type: compact
allow_any: false
disallowed_groups: "4" # @anonymous_users
refresh: true
mandatory_values: "1" # @admins