API Reference@grafana/dataWithAccessControlMetadata

WithAccessControlMetadata interface

With FGAC, 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

Property Type Description
accessControl KeyValue<boolean>

accessControl property

Signature

accessControl?: KeyValue<boolean>;