fix: collections history allows logged-in user access

This commit is contained in:
chenos 2023-01-05 17:34:58 +08:00
parent 58b7c5dd30
commit 4d2817268a

View File

@ -69,6 +69,8 @@ export class SnapshotFieldPlugin extends Plugin {
this.app.db.registerFieldTypes({ this.app.db.registerFieldTypes({
snapshot: SnapshotField, snapshot: SnapshotField,
}); });
this.app.acl.allow('collectionsHistory', 'list', 'loggedIn');
} }
// 初始化安装的时候 // 初始化安装的时候