Skip to content

Commit

Permalink
Merge branch '7.17' into backport/7.17/pr-186064
Browse files Browse the repository at this point in the history
  • Loading branch information
jeramysoucy authored Jun 19, 2024
2 parents d7b4597 + b21c0ac commit 6c9990e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/ml/server/routes/job_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ export function jobServiceRoutes({ router, routeGuard }: RouteInitialization) {
body: schema.object(basicChartSchema),
},
options: {
tags: ['access:ml:canGetJobs'],
tags: ['access:ml:canCreateJob'],
},
},
routeGuard.fullLicenseAPIGuard(async ({ client, mlClient, request, response }) => {
Expand Down Expand Up @@ -630,7 +630,7 @@ export function jobServiceRoutes({ router, routeGuard }: RouteInitialization) {
body: schema.object(populationChartSchema),
},
options: {
tags: ['access:ml:canGetJobs'],
tags: ['access:ml:canCreateJob'],
},
},
routeGuard.fullLicenseAPIGuard(async ({ client, mlClient, request, response }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export default ({ getService }: FtrProviderContext) => {
const supertest = getService('supertest');
const supertestWithoutAuth = getService('supertestWithoutAuth');

// Failing ES 8.x Compatibility: https://github.com/elastic/kibana/issues/174028
describe.skip('read_privileges', () => {
describe('read_privileges', () => {
it('should return expected privileges for elastic admin', async () => {
const { body } = await supertest.get(DETECTION_ENGINE_PRIVILEGES_URL).send().expect(200);
expect(body).to.eql({
Expand Down

0 comments on commit 6c9990e

Please sign in to comment.