import React from 'react'; import { FormattedMessage as Message } from 'react-intl'; 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.intl.json'; export default class PermissionsBody extends BaseAuthBody { static displayName = 'PermissionsBody'; static panelId = 'permissions'; render() { const { user } = this.context; const { scopes } = this.context.auth; return (
{this.renderErrors()}
{user.avatar ? ( ) : ( )}
{user.username}

); } }