API Reference@grafana/dataWithAccessControlMetadata

WithAccessControlMetadata interface

With RBAC, the backend will return additional access control metadata to objects. These metadata will contain user permissions associated to a given resource.

For example: { accessControl: { “datasources:read”: true, “datasources:write”: true } }

Signature

export interface WithAccessControlMetadata 

Import

import { WithAccessControlMetadata } from '@grafana/data';

Properties

PropertyTypeDescription
accessControlKeyValue<boolean>

accessControl property

Signature

accessControl?: KeyValue<boolean>;