feat(spaces): add space_permission_cascading config flag

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ember33 2026-03-17 16:40:44 +01:00
parent 84f6903c98
commit dc8949f4d1

View file

@ -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)]