# Function permissions::overrides::override_edit

> One override edit in `channel.permissions.update` (or `channel.create` with initial overrides). `chp` is the actor's effective permissions in that channel; `old`/`new` are `(allow,

`zaun_community_protocol::permissions::overrides::override_edit` · Function

```rust
pub fn override_edit(actor: &Party, chp: Permissions, subject: OverrideSubject, old: (Permissions, Permissions), new: (Permissions, Permissions)) -> Result<(), Refusal>
```

One override edit in `channel.permissions.update` (or `channel.create` with initial
overrides). `chp` is the actor's effective permissions in that channel; `old`/`new` are
`(allow, deny)` with `(0, 0)` for none. A role target needs H4; a member target H1 and H2
unless self. H3: the changed bits must be in `chp` (owner and administrator exempt).

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