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:
parent
84f6903c98
commit
dc8949f4d1
1 changed files with 8 additions and 0 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue