# Whitelist Teams for Review Assignment

When [onboarding a large org](https://docs.aviator.co/flexreview/onboarding-a-large-org), 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="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FOeFMHcW35gcoeTcyByiz%2FScreenshot%202025-01-07%20at%204.10.32%E2%80%AFPM.png?alt=media&#x26;token=27d7ddf8-0dd5-48ee-b0d8-6aef6c39a8c8" 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.&#x20;

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FOz2Xcnb5T6RjexDlKEqq%2FScreenshot%202025-01-07%20at%204.11.58%E2%80%AFPM.png?alt=media&#x26;token=5465d85a-32b7-47a6-a929-243d1fe35519" 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.&#x20;

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

<figure><img src="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FHwvySgVxQQ3ZFjZ118fI%2FScreenshot%202025-01-07%20at%203.29.56%E2%80%AFPM.png?alt=media&#x26;token=ff39206d-a656-4a60-8ed7-d8a6cbdcd7cc" 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="https://273246003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOAPqUQVbLbsfI5YESl32%2Fuploads%2FISnjgJ2zwDoDBynQAy1l%2FScreenshot%202025-01-07%20at%204.16.03%E2%80%AFPM.png?alt=media&#x26;token=c822770e-4f9f-4496-9d11-33e137ac0beb" 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](https://docs.aviator.co/flexreview/onboarding-a-large-org)
* [Troubleshooting reviewer assignment](https://docs.aviator.co/flexreview/how-to-guides/troubleshoot-reviewer-assignment)
