* expose route info in KibanaRequest * update mocks in test * make tags readonly, getRouteInfo is private method * add mocks for hapi internals * mode deepFreeze to core utils level as it env agnostic * freeze route props * fix typo * add tests for route options * fix integration tests. deep_freeze was moved under core utils * add comments, expose public types and regenerate docs * address comment. remove unnecessary async in route handlers * make routeSchema optional instead of union with undefined * @skaapgif improvements * update docs
1.2 KiB
1.2 KiB
Home > kibana-plugin-public > Capabilities
Capabilities interface
The read-only set of capabilities available for the current UI session. Capabilities are simple key-value pairs of (string, boolean), where the string denotes the capability ID, and the boolean is a flag indicating if the capability is enabled or disabled.
Signature:
export interface Capabilities
Properties
Property | Type | Description |
---|---|---|
catalogue | Record<string, boolean> |
Catalogue capabilities. Catalogue entries drive the visibility of the Kibana homepage options. |
management | { [sectionId: string]: Record<string, boolean>; } |
Management section capabilities. |
navLinks | Record<string, boolean> |
Navigation link capabilities. |