diff --git a/app/pages/user/profile.tsx b/app/pages/user/profile.tsx index 6a0622839f..bf7932fc96 100644 --- a/app/pages/user/profile.tsx +++ b/app/pages/user/profile.tsx @@ -3,7 +3,9 @@ import {graphql} from 'react-relay'; import {profileQueryResponse} from 'profileQuery.graphql'; import DefaultLayout from 'layouts/default-layout'; import UserProfileContainer from 'containers/User/UserProfile'; +import {INCENTIVE_ANALYST, ADMIN_GROUP, USER} from 'data/group-constants'; +const ALLOWED_GROUPS = [INCENTIVE_ANALYST, ...ADMIN_GROUP, USER]; interface Props { query: profileQueryResponse['query']; } @@ -25,7 +27,7 @@ class Profile extends Component { const {session} = this.props.query; return ( - + );