# Function permissions::roles::can_grant

> Hierarchy over a role being granted, without `MANAGE_ROLES`: not `@everyone`, H4, and its known bits held (H3). Used by `membership.approve`.

`zaun_community_protocol::permissions::roles::can_grant` · Function

```rust
pub fn can_grant(actor: &Party, cp: Permissions, role: &Role) -> Result<(), Denial>
```

Hierarchy over a role being granted, without `MANAGE_ROLES`: not `@everyone`, H4, and
its known bits held (H3). Used by `membership.approve`.

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