mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
settings: Show realm permissions that group has in permissions panel.
This commit is contained in:
@@ -294,6 +294,18 @@ export function dispatch_normal_event(event) {
|
||||
settings_org.sync_realm_settings(key);
|
||||
}
|
||||
|
||||
if (
|
||||
Object.keys(
|
||||
realm.server_supported_permission_settings.realm,
|
||||
).includes(key)
|
||||
) {
|
||||
const $elem = $(`#id_group_permission_${CSS.escape(key)}`);
|
||||
user_group_edit.update_setting_in_group_permissions_panel(
|
||||
$elem,
|
||||
value,
|
||||
);
|
||||
}
|
||||
|
||||
if (
|
||||
key === "create_multiuse_invite_group" ||
|
||||
key === "can_invite_users_group"
|
||||
|
||||
Reference in New Issue
Block a user