mirror of https://github.com/grafana/grafana.git
15 lines
379 B
TypeScript
15 lines
379 B
TypeScript
import React from 'react';
|
|
|
|
import { Alert } from '@grafana/ui';
|
|
|
|
export const missingRightsMessage =
|
|
'You are not allowed to modify this data source. Please contact your server admin to update this data source.';
|
|
|
|
export function DataSourceMissingRightsMessage() {
|
|
return (
|
|
<Alert severity="info" title="Missing rights">
|
|
{missingRightsMessage}
|
|
</Alert>
|
|
);
|
|
}
|