Skip to content

Commit

Permalink
feat: list principals route
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe committed Aug 9, 2023
1 parent dbd7f8f commit 3217788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import { InternalHttpServiceSetup } from '../../../http';
import { SavedObjectsPermissionControlContract } from '../client';
import { registerListRoute } from './principals';
import { registerValidateRoute } from './validate';

export function registerPermissionCheckRoutes({
Expand All @@ -17,4 +18,5 @@ export function registerPermissionCheckRoutes({
const router = http.createRouter('/api/saved_objects_permission_control/');

registerValidateRoute(router, permissionControl);
registerListRoute(router, permissionControl);
}

0 comments on commit 3217788

Please sign in to comment.