Skip to main content

current_org_scope

Function current_org_scope 

Source
pub fn current_org_scope() -> Option<OrgScope>
Expand description

The resolved org scope of the current request, if one is bound.

Services use the acting node as the default org_unit_id for new records; None means no org scope (platform caller or non-request code) — do not guess a node then.