# Whitelist Teams for Review Assignment

When [onboarding a large org](/flexreview/onboarding-a-large-org.md), it may be preferred to test out reviewer assignment for a select number of pull requests. There are a couple of ways to do selective reviewer assignment.

### Whitelist by reviewers

To enable FlexReview reviewer assignment for a given GitHub team, go to Teams section in Dashboard, and select the desired team in the dropdown. For this view, click "Enable FlexReview Team".

<figure><img src="/files/O6WC9hA8a0J48R9PYPyz" alt=""><figcaption><p>Enable FlexReview Team</p></figcaption></figure>

Once enabled, you should be able to navigate to the Team Config and ensure that "Expert Review" is selected for in the Review Assignment section.

<figure><img src="/files/ACYXIgnhts5APa0YgMt0" alt=""><figcaption><p>Review Assignment</p></figcaption></figure>

### Whitelist by authors

It may be desired to only assign reviews for the pull requests that are authored by specific users or specific teams. This can be configured at the repository level.

Go to Repositories > FlexReview Status > Configure for the repository that you want to enable this for.

<figure><img src="/files/0WzNzSL7QA29te0X3VgY" alt=""><figcaption><p>FlexReview Configure</p></figcaption></figure>

Go to "Author Allowlist". Here you can specify either a user or a team (one per-line) that would be whitelisted for reviewer assignments. Syntax is `@username` for users and `@org/team` for teams. By default all authors are part of the allowlist, this is represented by a special marker `*`.

<figure><img src="/files/RIQdgsIVjahzDcrY3kOs" alt=""><figcaption><p>Author Allowlist</p></figcaption></figure>

### Working with both

Please note that these whitelists act as AND-gates, that means a pull request will be assigned a reviewer when it satisfies bot the authors and the reviewers whitelists.

## See also

* [Onboarding a large org](/flexreview/onboarding-a-large-org.md)
* [Troubleshooting reviewer assignment](/flexreview/how-to-guides/troubleshoot-reviewer-assignment.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aviator.co/flexreview/how-to-guides/whitelist-teams-for-review-assignment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
