pub fn permissions_of(channel: &Channel) -> u32Expand description
What a connection may do in a channel it can see, derived from the render.
There is no permission model to consult: the flavor renders a tree, and what
it says about a channel’s accessibility is can_enter and can_text.
Deriving the answer from those is what keeps the reply honest for the
generation it was asked about, rather than replaying a cache nothing
invalidates (spec 16.16).
TRAVERSE is unconditional here because the question is only ever asked
about a channel the connection already observes: it has traversed it by
definition.