mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* [Fleet] Add base Fleet authz logic and API (#119199) * Add base Fleet authz logic and API * Fix linter error * Fix ts checks * Fix ts checks again Co-authored-by: criamico <mariacristina.amico@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # x-pack/plugins/fleet/storybook/context/index.tsx * Fix missing import Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
This commit is contained in:
parent
6726ef4b92
commit
32bcf31aaf
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
import React, { useEffect, useMemo, useCallback } from 'react';
|
||||
import { EMPTY } from 'rxjs';
|
||||
|
||||
import type { StoryContext } from '@storybook/react';
|
||||
import { createBrowserHistory } from 'history';
|
||||
|
@ -69,6 +70,9 @@ export const StorybookContext: React.FC<{ storyContext?: StoryContext }> = ({
|
|||
notifications: getNotifications(),
|
||||
share: getShare(),
|
||||
uiSettings: getUiSettings(),
|
||||
theme: {
|
||||
theme$: EMPTY,
|
||||
},
|
||||
authz: {
|
||||
fleet: {
|
||||
all: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue