mirror of https://github.com/zulip/zulip.git
stream_settings: Improve stream_post_policy_values order, description.
In "stream_data.js/stream_post_policy_values", change, the object to match the following order and description of these policies: 1. Everyone [Default] 2. Admins, moderators and full members 3. Admins and moderators 4. Admins only This sorts from least to most restrictive.
This commit is contained in:
parent
681414caf1
commit
1eb1aa70ed
|
@ -142,21 +142,21 @@ export const stream_post_policy_values = {
|
|||
// Stream.POST_POLICIES object in zerver/models.py.
|
||||
everyone: {
|
||||
code: 1,
|
||||
description: $t({defaultMessage: "All stream members can post"}),
|
||||
description: $t({defaultMessage: "Everyone"}),
|
||||
},
|
||||
admins: {
|
||||
code: 2,
|
||||
description: $t({defaultMessage: "Only organization administrators can post"}),
|
||||
non_new_members: {
|
||||
code: 3,
|
||||
description: $t({defaultMessage: "Admins, moderators and full members"}),
|
||||
},
|
||||
moderators: {
|
||||
code: 4,
|
||||
description: $t({
|
||||
defaultMessage: "Only organization administrators and moderators can post",
|
||||
defaultMessage: "Admins and moderators",
|
||||
}),
|
||||
},
|
||||
non_new_members: {
|
||||
code: 3,
|
||||
description: $t({defaultMessage: "Only organization full members can post"}),
|
||||
admins: {
|
||||
code: 2,
|
||||
description: $t({defaultMessage: "Admins only"}),
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue