Function permissions::channel_grants
zaun_community_protocol::permissions::channel_grants · Function
pub fn channel_grants(base: Permissions, member: MemberId, roles: &[Role], ch: &Channel<'_>) -> Permissionsgrants(m, ch) (steps 3–6) for a non-administrator whose base is base.
Overrides are aggregated per layer in one pass, so duplicate or reordered entries give the same result (property 1).