fix: skip permission
This commit is contained in:
parent
3f3e9b5373
commit
97c63830dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user