mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
setting: Add dropdown for managing who can move messages between streams.
This commit adds the dropdown in 'Stream settings' section of organization permissions page to control who can move messages between streams and also hides the stream-edit UI in message-edit form accordingly. Fixes #14499.
This commit is contained in:
@@ -126,3 +126,7 @@ export function user_can_subscribe_other_users() {
|
||||
export function user_can_create_streams() {
|
||||
return user_has_permission(page_params.realm_create_stream_policy);
|
||||
}
|
||||
|
||||
export function user_can_move_messages_between_streams() {
|
||||
return user_has_permission(page_params.realm_move_messages_between_streams_policy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user