import React, { FC } from 'react'; import { Icon } from '@grafana/ui'; import { LdapPermissions } from 'app/types'; interface Props { permissions: LdapPermissions; } export const LdapUserPermissions: FC = ({ permissions }) => { return (
Permissions
Grafana admin {permissions.isGrafanaAdmin ? ( <> Yes ) : ( 'No' )}
Status {permissions.isDisabled ? ( <> Inactive ) : ( <> Active )}
); };