feat(contacts): add feature flag to enable/disable exposition of users in address-book

This commit is contained in:
Edouard Vanbelle
2026-05-10 22:12:11 +02:00
parent 7e1484ec2c
commit ad711e18ea
3 changed files with 20 additions and 1 deletions
+1
View File
@@ -405,6 +405,7 @@ pub fn create_api_routes(app_state: &Arc<AppState>) -> Router<Arc<AppState>> {
let contacts_state = ContactsApiState {
contact_service,
auth_service: auth_svc,
expose_system_users: app_state.core.config.features.expose_system_users,
};
let contacts_router = Router::new()