# Function permissions::act_on

> H1 then H2, with H2 skipped when the actor targets themself and `self_ok` is set.

`zaun_community_protocol::permissions::act_on` · Function

```rust
pub fn act_on(actor: &Party, target: &Party, self_ok: bool) -> Result<(), Denial>
```

H1 then H2, with H2 skipped when the actor targets themself and `self_ok` is set.

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