Registry object implementation

This commit is contained in:
mdecimus
2026-02-21 19:24:20 +01:00
parent ddf9cc7ba7
commit f2c2ad6748
75 changed files with 821 additions and 623 deletions

View File

@@ -9,7 +9,7 @@ use crate::{
backend::{ldap::LdapDirectory, oidc::OpenIdDirectory, sql::SqlDirectory},
};
use registry::schema::{
prelude::Object,
prelude::ObjectType,
structs::{self, Authentication},
};
use std::{collections::HashMap, sync::Arc};
@@ -45,7 +45,7 @@ impl Directories {
Some(default_directory) => default_directory.clone().into(),
None => {
bp.build_error(
Object::Authentication.singleton(),
ObjectType::Authentication.singleton(),
format!("Default directory with ID {} not found", directory_id),
);
None