---
lang: en
title: 'API docs: authorization.authorizationmetadata.allowedroles'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/authorization
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[];
```

