diff options
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r-- | webapp/utils/utils.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index 469f793c8..2b685a793 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -66,6 +66,10 @@ export function isInRole(roles, inRole) { } export function isChannelAdmin(roles) { + if (global.mm_license.IsLicensed !== 'true') { + return false; + } + if (isInRole(roles, 'channel_admin')) { return true; } |