View File Name : UserOrgs.tsx
);
}
interface ExternalUserTooltipProps {
lockMessage?: string;
}
export const ExternalUserTooltip = ({ lockMessage }: ExternalUserTooltipProps) => {
const styles = useStyles2(getTooltipStyles);
return (
{lockMessage}
This user's built-in role is not editable because it is synchronized from your auth provider. Refer to
the
Grafana authentication docs
for details.
}
>
);
};
const getTooltipStyles = (theme: GrafanaTheme2) => ({
disabledTooltip: css`
display: flex;
`,
tooltipItemLink: css`
color: ${theme.v1.palette.blue95};
`,
lockMessageClass: css`
font-style: italic;
margin-left: 1.8rem;
margin-right: 0.6rem;
`,
});