summaryrefslogtreecommitdiffstats
path: root/webapp/utils/constants.jsx
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-02-24 01:15:10 +0000
committerChristopher Speller <crspeller@gmail.com>2017-02-23 20:15:10 -0500
commit8509c2f0b0893f8a7936a1943cc924db09bb62f4 (patch)
tree9b52c232fbc96fadaec26f0694ffc7e764651757 /webapp/utils/constants.jsx
parentbc9f3dfa240b2a197859de006baf2eceaafe0fcf (diff)
downloadchat-8509c2f0b0893f8a7936a1943cc924db09bb62f4.tar.gz
chat-8509c2f0b0893f8a7936a1943cc924db09bb62f4.tar.bz2
chat-8509c2f0b0893f8a7936a1943cc924db09bb62f4.zip
PLT-5080 (WebApp): Channel Admin permission level. (#5047)
* PLT-5080 (WebApp): Channel Admin permission level. For channel management and channel deletion. * Fix some incorrect showing/hiding of options. * Remove incorrect client calls that was overwriting my channel members.
Diffstat (limited to 'webapp/utils/constants.jsx')
-rw-r--r--webapp/utils/constants.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 6ad4a9e92..ff26a0c7f 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -877,6 +877,7 @@ export const Constants = {
LICENSE_EXPIRY_NOTIFICATION: 1000 * 60 * 60 * 24 * 15, // 15 days
LICENSE_GRACE_PERIOD: 1000 * 60 * 60 * 24 * 15, // 15 days
PERMISSIONS_ALL: 'all',
+ PERMISSIONS_CHANNEL_ADMIN: 'channel_admin',
PERMISSIONS_TEAM_ADMIN: 'team_admin',
PERMISSIONS_SYSTEM_ADMIN: 'system_admin',
PERMISSIONS_DELETE_POST_ALL: 'all',