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

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

[Home](./index.md) &gt; [@loopback/authorization](./authorization.md) &gt; [AuthorizationOptions](./authorization.authorizationoptions.md) &gt; [precedence](./authorization.authorizationoptions.precedence.md)

## AuthorizationOptions.precedence property

Controls if Allow/Deny vote takes precedence and override other votes. If not set, default to `AuthorizationDecision.DENY`<!-- -->.

Once a vote matches the `precedence`<!-- -->, it becomes the final decision. The rest of votes will be skipped.

<b>Signature:</b>

```typescript
precedence?: AuthorizationDecision.DENY | AuthorizationDecision.ALLOW;
```

