Skip to main content

apply_project_permission_mode

Function apply_project_permission_mode 

Source
fn apply_project_permission_mode(
    project: Option<&LoadedProject>,
    settings: &mut SessionLaunchSettings,
)
Expand description

Stamp the project’s permission_mode into the launch settings’ permissions.defaultMode. A spawn that resolved to no project stamps nothing, so the launcher’s session default applies.