Skip to content

Commit 47895ff

Browse files
remote cluster test_user
1 parent 4abbc54 commit 47895ff

3 files changed

Lines changed: 3 additions & 15 deletions

File tree

x-pack/test/functional/apps/remote_clusters/home_page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
1313

1414
describe('Home page', function () {
1515
before(async () => {
16-
await security.testUser.setRoles(['global_remote_cluster_role']);
16+
await security.testUser.setRoles(['global_ccr_role']);
1717
await pageObjects.common.navigateToApp('remoteClusters');
1818
});
1919

x-pack/test/functional/apps/remote_clusters/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import { FtrProviderContext } from '../../ftr_provider_context';
88

9+
// refer to the below docs for CCR, Remote Clusters
910
// https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-getting-started.html#ccr-getting-started-prerequisites
1011
// https://www.elastic.co/guide/en/kibana/7.9/working-remote-clusters.html
1112
export default ({ loadTestFile }: FtrProviderContext) => {

x-pack/test/functional/config.js

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ export default async function ({ readConfigFile }) {
324324
],
325325
},
326326

327+
// using this role even for remote clusters
327328
global_ccr_role: {
328329
elasticsearch: {
329330
cluster: ['manage', 'manage_ccr'],
@@ -338,20 +339,6 @@ export default async function ({ readConfigFile }) {
338339
],
339340
},
340341

341-
<<<<<<< HEAD
342-
global_remote_cluster_role: {
343-
kibana: [
344-
{
345-
feature: {
346-
advancedSettings: ['read'],
347-
},
348-
spaces: ['*'],
349-
},
350-
],
351-
},
352-
353-
=======
354-
>>>>>>> 0207f82e801e70641f9b1b820e0425187aae0b22
355342
//Kibana feature privilege isn't specific to advancedSetting. It can be anything. https://github.com/elastic/kibana/issues/35965
356343
test_api_keys: {
357344
elasticsearch: {

0 commit comments

Comments
 (0)