denied_permission

Function denied_permission 

Source
pub fn denied_permission(
    session: SessionId,
    channel: ChannelId,
    permission: u32,
) -> ControlMessage
Expand description

Refuse something a connection asked to do in a channel it can see.

Distinct from the flavor’s own Word::Refuse: this one names the permission and the channel, so the client can say which right was missing instead of printing a sentence. Only ever sent about a channel the connection already holds, since naming any other would answer a question it did not get to ask.

REF: references/mumble/src/murmur/Messages.cpp : the PERM_DENIED macro sets permission, channel_id, session and DenyType::Permission.