Skip to content

Commit

Permalink
add access tag to migrate route
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Feb 24, 2020
1 parent 10b8fac commit 96b1315
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/server/saved_objects/routes/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export const registerMigrateRoute = (
{
path: '/_migrate',
validate: false,
options: {
tags: ['access:migrateSavedObjects'],
},
},
router.handleLegacyErrors(async (context, req, res) => {
const migrator = await migratorPromise;
Expand Down

0 comments on commit 96b1315

Please sign in to comment.