register: Rename stream_creator_or_nobody to channel_creator.

This commit renames `stream_creator_or_nobody` value for
`default_group_name` field in `server_supported_permission_settings`
object to `channel_creator`.
This commit is contained in:
Sahil Batra
2025-09-18 22:01:08 +05:30
committed by Tim Abbott
parent 8c7628fbc4
commit 1e21f7b224
9 changed files with 17 additions and 8 deletions

View File

@@ -1829,7 +1829,7 @@ export function create_stream_group_setting_widget({
setting_name,
"stream",
)!.default_group_name;
if (default_group_name === "stream_creator_or_nobody") {
if (default_group_name === "channel_creator") {
set_group_setting_widget_value(pill_widget, {
direct_members: [current_user.user_id],
direct_subgroups: [],

View File

@@ -15,7 +15,7 @@ exports.server_supported_permission_settings = {
allow_internet_group: false,
allow_nobody_group: true,
allow_everyone_group: false,
default_group_name: "stream_creator_or_nobody",
default_group_name: "channel_creator",
allowed_system_groups: [],
},
can_remove_subscribers_group: {