pub fn validate_override(
old: Option<(Permissions, Permissions)>,
allow: Permissions,
deny: Permissions,
) -> Result<OverrideWrite, Invalid>Expand description
Validates a new override value against the stored one (old, if any):
allow & deny == 0; no known bit outside CHANNEL_SCOPED; no unknown bit that old
did not already hold. Unknown bits already present pass through unchanged.