fix: remove permission skip

This commit is contained in:
chenos 2024-09-26 20:03:50 +08:00
parent 7f6c19c16e
commit 5fb009ed33

View File

@ -160,10 +160,6 @@ export class PluginPublicFormsServer extends Plugin {
skip: ctx.PublicForm['targetCollections'].includes(resourceName), skip: ctx.PublicForm['targetCollections'].includes(resourceName),
}; };
} }
} else {
ctx.permission = {
skip: true,
};
} }
await next(); await next();