Skip to main content

validate_workspace_assignment

Function validate_workspace_assignment 

Source
pub fn validate_workspace_assignment(
    store: &ProjectStore,
    session_project_id: Option<&ProjectId>,
    requested_workspace: Option<&str>,
) -> Result<Option<PathBuf>, ProjectWorkspaceValidationError>
Expand description

Resolve confinement before checking ownership, without mutating the global workspace registry or session metadata. HTTP creation paths must call this before any workspace/session side effect.