import React, { PropTypes } from 'react'; import { FormattedMessage as Message } from 'react-intl'; import Helmet from 'react-helmet'; import buttons from 'components/ui/buttons.scss'; import icons from 'components/ui/icons.scss'; import { PanelBodyHeader } from 'components/ui/Panel'; import BaseAuthBody from 'components/auth/BaseAuthBody'; import styles from './permissions.scss'; import messages from './Permissions.messages'; class Body extends BaseAuthBody { static displayName = 'PermissionsBody'; static panelId = 'permissions'; render() { const {user} = this.context; const scopes = this.context.auth.scopes; return (