settings: Use new group setting to private channels creation permission.

This commit updates webapp code to use new group based setting to check
permission for creating private streams.
This commit is contained in:
Sahil Batra
2024-06-17 19:36:49 +05:30
committed by Tim Abbott
parent 0bae59fa4b
commit e19524ba92
13 changed files with 43 additions and 52 deletions

View File

@@ -560,9 +560,9 @@ export function initialize_everything(state_data) {
"realm_bot_creation_policy",
"realm_bot_domain",
"realm_can_access_all_users_group",
"realm_can_create_private_channel_group",
"realm_can_create_public_channel_group",
"realm_create_multiuse_invite_group",
"realm_create_private_stream_policy",
"realm_create_web_public_stream_policy",
"realm_date_created",
"realm_default_code_block_language",