mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
settings: Limit the creation of generic bots.
This commit adds a setting to limit creation of generic bots to admins for realms that want that restriction. (Generic bots, apart from being considered spammy on some realms, have less locked down permissions than webhook bots). Fixes #7066.
This commit is contained in:
committed by
Steve Howell
parent
6f8792729d
commit
45f0c76c44
@@ -41,6 +41,8 @@ function _setup_page() {
|
||||
realm_email_changes_disabled: page_params.realm_email_changes_disabled,
|
||||
realm_add_emoji_by_admins_only: page_params.realm_add_emoji_by_admins_only,
|
||||
can_admin_emojis: page_params.is_admin || !page_params.realm_add_emoji_by_admins_only,
|
||||
realm_create_generic_bot_by_admins_only:
|
||||
page_params.realm_create_generic_bot_by_admins_only,
|
||||
realm_allow_message_deleting: page_params.realm_allow_message_deleting,
|
||||
realm_allow_message_editing: page_params.realm_allow_message_editing,
|
||||
realm_message_content_edit_limit_minutes:
|
||||
|
||||
Reference in New Issue
Block a user