Skip to content

Commit 2ea8f82

Browse files
Add RoleMappingsLogic
1 parent e4f2ace commit 2ea8f82

4 files changed

Lines changed: 783 additions & 1 deletion

File tree

x-pack/plugins/enterprise_search/public/applications/app_search/app_logic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ConfiguredLimits, Account, Role } from './types';
1313

1414
import { getRoleAbilities } from './utils/role';
1515

16-
interface AppValues {
16+
export interface AppValues {
1717
ilmEnabled: boolean;
1818
configuredLimits: ConfiguredLimits;
1919
account: Account;

x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/constants.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,11 @@ export const ROLE_MAPPINGS_TITLE = i18n.translate(
1111
'xpack.enterpriseSearch.appSearch.roleMappings.title',
1212
{ defaultMessage: 'Role Mappings' }
1313
);
14+
15+
export const DELETE_ROLE_MAPPINGS_MESSAGE = i18n.translate(
16+
'xpack.enterpriseSearch.appSearch.deleteRoleMappingMessage',
17+
{
18+
defaultMessage:
19+
'Are you sure you want to permanently delete this mapping? This action is not reversible and some users might lose access.',
20+
}
21+
);

0 commit comments

Comments
 (0)