From 1e7985a87a72bea9a308cf1506dacc828c6e2e1c Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 13 Sep 2016 12:42:48 -0400 Subject: Modifying permissions system. (#3897) --- webapp/utils/utils.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/utils/utils.jsx') diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index dda1d0986..4dc9aab86 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -56,7 +56,7 @@ export function isInRole(roles, inRole) { } export function isAdmin(roles) { - if (isInRole(roles, 'admin')) { + if (isInRole(roles, 'team_admin')) { return true; } -- cgit v1.2.3-1-g7c22