pub fn membership(cx: &Cx) -> Option<&Membership>Expand description
The signed-in user’s membership the request acts under: the tenant the
session selected while it is still one of the user’s
tenants, else the user’s
default_tenant, else the first. None without a
signed-in user, for a user with no tenant, and when a Tenant override
names a tenant the user is not a member of.