streams: Add frontend code for moderators only stream post policy.

This commit is contained in:
sahil839
2021-05-01 19:49:33 +05:30
committed by Tim Abbott
parent 61de39dd6f
commit f5f6617476
4 changed files with 59 additions and 0 deletions

View File

@@ -137,6 +137,12 @@ export const stream_post_policy_values = {
code: 2,
description: $t({defaultMessage: "Only organization administrators can post"}),
},
moderators: {
code: 4,
description: $t({
defaultMessage: "Only organization administrators and moderators can post",
}),
},
non_new_members: {
code: 3,
description: $t({defaultMessage: "Only organization full members can post"}),