[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / AuthRolesOptions

# Interface: AuthRolesOptions

Defined in: [admin/src/authRoles.ts:22](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/authRoles.ts#L22)

## Properties

### guard?

> `optional` **guard?**: `string`

Defined in: [admin/src/authRoles.ts:27](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/authRoles.ts#L27)

Guard the roles belong to. Defaults to `"web"`, matching the framework's
own default, so most apps need not think about it.

***

### superusers?

> `optional` **superusers?**: `string`[]

Defined in: [admin/src/authRoles.ts:35](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/authRoles.ts#L35)

Role names that hold every permission.

Named rather than inferred, because "administrator" is a convention and not
something the data can tell you. A superuser role is shown as holding
everything and cannot be edited or deleted from the panel.
