Skip to content

Commit

Permalink
use roles.yml from kbn/es for security solution tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlemeshko committed Nov 21, 2024
1 parent 889ce00 commit 7bac3e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 792 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { readFileSync } from 'fs';
import * as path from 'path';
import { cloneDeep, merge } from 'lodash';
import { FeaturesPrivileges, Role, RoleIndexPrivilege } from '@kbn/security-plugin/common';
import { SERVERLESS_ROLES_ROOT_PATH } from '@kbn/es';
import { ServerlessRoleName } from '../types';

const ROLES_YAML_FILE_PATH = path.join(__dirname, 'project_controller_security_roles.yml');

const ROLES_YAML_FILE_PATH = path.join(SERVERLESS_ROLES_ROOT_PATH, 'security', 'roles.yml');
const ROLE_NAMES = Object.values(ServerlessRoleName);

interface IApplication {
Expand Down
Loading

0 comments on commit 7bac3e2

Please sign in to comment.