mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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>
|
||
|
|
);
|
||
|
|
}
|