# Function permissions::no_new_unknown

> the protocol: a command may not set an unknown bit that `old` did not already hold.

`zaun_community_protocol::permissions::no_new_unknown` · Function

```rust
pub fn no_new_unknown(old: Permissions, new: Permissions) -> Result<(), Invalid>
```

the protocol: a command may not set an unknown bit that `old` did not already hold.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/permissions/hierarchy/fn.no_new_unknown.html)
