fix: skip permission

This commit is contained in:
chenos 2022-04-10 10:55:56 +08:00
parent 3f3e9b5373
commit 97c63830dd

View File

@ -77,12 +77,12 @@ for (const plugin of plugins) {
}
}
api.acl.use(async (ctx, next) => {
ctx.permission = {
skip: true,
};
await next();
});
// api.acl.use(async (ctx, next) => {
// ctx.permission = {
// skip: true,
// };
// await next();
// });
if (process.argv.length < 3) {
// @ts-ignore