diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index a642f5b7..6578276a 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -603,6 +603,14 @@ pub struct Config { #[serde(default)] pub suspend_on_register: bool, + /// Enable space permission cascading (power levels and role-based access). + /// When enabled, power levels cascade from Spaces to child rooms and rooms + /// can require roles for access. Applies to all Spaces on this server. + /// + /// default: false + #[serde(default)] + pub space_permission_cascading: bool, + /// Enabling this setting opens registration to anyone without restrictions. /// This makes your server vulnerable to abuse #[serde(default)]