'use strict';
import { getUserId } from '../../../../meta/server/auth/users/current-user-id-provider.js';
import { getUserPermissions } from '../../../../meta/server/permission/permission-checker.js';
import { apiOkResponse } from '../../../../meta/server/web/responses.js';

var __defProp=Object['defineProperty'],__name=(_0x2c56f0,_0x46eb16)=>__defProp(_0x2c56f0,'name',{'value':_0x46eb16,'configurable':!![]});async function permissionRoute(){const _0x1d0c50=await getUserId(),_0x4d5613=await getUserPermissions(_0x1d0c50);return apiOkResponse(_0x4d5613);}__name(permissionRoute,'permissionRoute');

export { permissionRoute };
