move filter_scope to auth level, filter on apply action, rename constructors

This commit is contained in:
yggverse 2025-01-23 12:30:22 +02:00
parent 089a91d5a2
commit 24adba9065
4 changed files with 31 additions and 29 deletions

View file

@ -16,7 +16,7 @@ impl Database {
// Constructors
/// Create new `Self`
pub fn new(connection: &Rc<RwLock<Connection>>) -> Self {
pub fn build(connection: &Rc<RwLock<Connection>>) -> Self {
Self {
connection: connection.clone(),
}