mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
FEATURE: limits post created edited trigger to a group (#31523)
This commit allows admins to limit the post created/edited trigger execution to a specific post user group. It's for example useful if you want to auto tag all the topics created by member of a specific group.
This commit is contained in:
@ -15,6 +15,7 @@ DiscourseAutomation::Triggerable.add(DiscourseAutomation::Triggers::POST_CREATED
|
||||
field :restricted_category, component: :category
|
||||
field :restricted_tags, component: :tags
|
||||
field :restricted_groups, component: :groups
|
||||
field :restricted_user_group, component: :group
|
||||
field :ignore_automated, component: :boolean
|
||||
field :ignore_group_members, component: :boolean
|
||||
field :valid_trust_levels, component: :"trust-levels"
|
||||
|
Reference in New Issue
Block a user