# Function permissions::base

> `base(m)` for a non-owner (steps 1–2): `@everyone` OR the member's roles; `ALL` with `ADMINISTRATOR`; otherwise masked by `KNOWN`.

`zaun_community_protocol::permissions::base` · Function

```rust
pub fn base(everyone: Permissions, roles: &[Role]) -> Permissions
```

`base(m)` for a non-owner (steps 1–2): `@everyone` OR the member's roles; `ALL` with
`ADMINISTRATOR`; otherwise masked by `KNOWN`.

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