-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into serverless-mki
- Loading branch information
Showing
119 changed files
with
2,548 additions
and
1,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ describe('UserAvatar', () => { | |
<EuiAvatar | ||
color="plain" | ||
imageUrl="https://source.unsplash.com/64x64/?cat" | ||
name="Delighted Nightingale" | ||
name="Delighted Nightingale ([email protected])" | ||
/> | ||
`); | ||
}); | ||
|
@@ -56,7 +56,7 @@ describe('UserAvatar', () => { | |
color="#09e8ca" | ||
initials="DN" | ||
initialsLength={2} | ||
name="Delighted Nightingale" | ||
name="Delighted Nightingale ([email protected])" | ||
/> | ||
`); | ||
}); | ||
|
@@ -76,7 +76,7 @@ describe('UserAvatar', () => { | |
color="#AA6556" | ||
initials="DN" | ||
initialsLength={2} | ||
name="Delighted Nightingale" | ||
name="Delighted Nightingale ([email protected])" | ||
/> | ||
`); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,20 +61,20 @@ describe('UserToolTip', () => { | |
</EuiFlexItem> | ||
<EuiFlexItem | ||
grow={true} | ||
style={ | ||
Object { | ||
"minWidth": 0, | ||
} | ||
} | ||
> | ||
<EuiFlexGroup | ||
direction="column" | ||
gutterSize="none" | ||
<div> | ||
Delighted Nightingale | ||
</div> | ||
<EuiText | ||
size="xs" | ||
> | ||
<EuiFlexItem> | ||
<strong> | ||
Delighted Nightingale | ||
</strong> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
[email protected] | ||
</EuiFlexItem> | ||
</EuiFlexGroup> | ||
[email protected] | ||
</EuiText> | ||
</EuiFlexItem> | ||
</EuiFlexGroup> | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
x-pack/packages/security/plugin_types_public/src/roles/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
export type { RolePutPayload, RolesAPIClient } from './roles_api_client'; |
19 changes: 19 additions & 0 deletions
19
x-pack/packages/security/plugin_types_public/src/roles/roles_api_client.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
import type { Role } from '@kbn/security-plugin-types-common'; | ||
|
||
export interface RolePutPayload { | ||
role: Role; | ||
createOnly?: boolean; | ||
} | ||
|
||
export interface RolesAPIClient { | ||
getRoles: () => Promise<Role[]>; | ||
getRole: (roleName: string) => Promise<Role>; | ||
deleteRole: (roleName: string) => Promise<void>; | ||
saveRole: (payload: RolePutPayload) => Promise<void>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
.../plugins/lens/public/app_plugin/__snapshots__/get_application_user_messages.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.