---
lang: en
title: 'API docs: authorization.authorizationmetadata.allowedroles'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.authorization.authorizationmetadata.allowedroles.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/authorization](./authorization.md) &gt; [AuthorizationMetadata](./authorization.authorizationmetadata.md) &gt; [allowedRoles](./authorization.authorizationmetadata.allowedroles.md)

## AuthorizationMetadata.allowedRoles property

Roles that are allowed access

<b>Signature:</b>

```typescript
allowedRoles?: string[];
```

