Mountain/IPC/AdvancedFeatures/CollaborationPermissions.rs
1
2//! Per-session capability flags for the realtime collaboration
3//! surface. The four bits gate edit / view / comment / share
4//! actions on a `CollaborationSession::Struct`.
5
6use serde::{Deserialize, Serialize};
7
8#[derive(Debug, Clone, Serialize, Deserialize)]
9pub struct Struct {
10 pub can_edit:bool,
11
12 pub can_view:bool,
13
14 pub can_comment:bool,
15
16 pub can_share:bool,
17}