fix: collections history allows logged-in user access
This commit is contained in:
		
							parent
							
								
									58b7c5dd30
								
							
						
					
					
						commit
						4d2817268a
					
				@ -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');
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // 初始化安装的时候
 | 
					  // 初始化安装的时候
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user