Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
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
Property | Type | Description |
---|---|---|
accessControl | KeyValue<boolean> |
accessControl property
Signature
accessControl?: KeyValue<boolean>;