Expand description
Per-section profile visibility filtering.
Profile sections are gated via <field>.vis markers in the tenant’s
extension (x) map. This module supplies the pure logic for parsing those
markers and deciding whether a particular caller may view each section.
The cloudillo-profile crate uses these primitives to strip gated sections
from /api/me and /api/me/full responses.
Structs§
- Requester
Tier - Caller’s relationship to the tenant being viewed.
Enums§
- Community
Role - Community role labels recognised in
<field>.vismarkers and inAuthCtx.roles. Ordered:Supporter < Contributor < Moderator < Leader. - Section
Visibility - Required visibility level for a profile section, parsed from
<field>.vis.