# Teleport Error: allow\.search\_as\_roles Requires Enterprise

Last verified: December 2026

Getting one of these errors when applying a role in Teleport Community Edition?

> **ERROR:** role field allow\.search\_as\_roles is only available in enterprise subscriptions
>
> **ERROR:** role field allow\.request.thresholds is only available in enterprise subscriptions
>
> **ERROR:** role field allow\.review\_requests is only available in enterprise subscriptions

Good news: your role YAML and RBAC syntax are probably fine. **These access-request errors are licensing restrictions in Teleport Community Edition, not configuration issues.**

Teleport Community Edition supports basic role Access Requests (`allow.request.roles`), where a cluster administrator approves requests directly with `tctl`. However, resource discovery for requests (`allow.search_as_roles`), multi-party approval thresholds (`allow.request.thresholds`), delegated reviewer roles (`allow.review_requests`), and mandatory request reasons (`options.request_access`) are restricted to Teleport Enterprise.

**As of December 2026, Teleport Community Edition provides no configuration setting to enable `allow.search_as_roles`, `allow.request.thresholds`, or `allow.review_requests`.**

## How Teleport enforces the Access Requests license check[​](#how-teleport-enforces-the-access-requests-license-check "Direct link to How Teleport enforces the Access Requests license check")

When you create or update a role, the Teleport Auth Service runs `checkRoleFeatureSupport` in [`lib/auth/auth_with_roles.go`](https://github.com/gravitational/teleport/blob/07aa72c8e9f5bd705ce275eaa656f7b4bd9acee9/lib/auth/auth_with_roles.go#L5828-L5859). In pseudocode:

text

```text
if (!enterprise_workflows && len(allow.request.thresholds) > 0) {

    deny("role field allow.request.thresholds is only available in enterprise

          subscriptions")

} else if (!enterprise_workflows && !allow.review_requests.is_empty()) {

    deny("role field allow.review_requests is only available in enterprise

          subscriptions")

} else if (edition != "Enterprise" && len(allow.request.search_as_roles) > 0) {

    deny("role field allow.search_as_roles is only available in enterprise

          subscriptions")

}
```

Teleport reports only the first failing field. A role that sets all three fails on `allow.request.thresholds`.

Teleport Community Edition runs this check every time you create or update a role with `tctl create -f role.yaml` or the Web UI:

* **`allow.search_as_roles`** lets users browse resources they can request access to. Non-Enterprise builds reject it outright.
* **`allow.request.thresholds`** enforces multi-party approval (such as requiring two reviewers to approve before access is granted). Community Edition rejects it because the `AdvancedAccessWorkflows` feature flag is disabled.
* **`allow.review_requests`** lets non-admin roles review and approve access requests. Community Edition rejects it under the same feature flag.

Basic role requests work, but production JIT workflows hit the gate

Teams often prototype a basic role request in Teleport Community Edition and assume the full just-in-time access workflow is included. The Enterprise gate triggers as soon as you let requesters discover target resources (`allow.search_as_roles`), add two-person approval (`allow.request.thresholds`), or delegate approvals to non-admin reviewers (`allow.review_requests`).

## How to fix the Teleport Access Requests Enterprise errors[​](#how-to-fix-the-teleport-access-requests-enterprise-errors "Direct link to How to fix the Teleport Access Requests Enterprise errors")

There is currently no configuration flag to disable these checks in Teleport Community Edition. If you need `search_as_roles`, multi-party approval thresholds, or delegated reviewers, your options are upgrading to Teleport Enterprise, maintaining a custom Teleport fork, or using another infrastructure access platform that includes just-in-time access workflows.

### Upgrade to Teleport Enterprise

Upgrading to Teleport Enterprise is the officially supported way to enable `allow.search_as_roles`, approval thresholds, and delegated reviewers on your existing Teleport cluster.

How much does Teleport Enterprise cost?

According to [Vendr](https://www.vendr.com/marketplace/teleport), a software procurement and pricing intelligence platform, the **median annual Teleport contract is $50,950/year**, with reported contracts reaching **$137,119/year** (156 purchases, February 2026). These figures reflect total contract values, not the standalone cost of access requests.

If Teleport Community Edition already meets your infrastructure access requirements and just-in-time access requests are your only reason to upgrade, consider whether an Enterprise subscription is worth the cost.

Upgrading to self-hosted Teleport Enterprise also requires more than applying a license key. As documented in Teleport's [Linux installation guide](https://goteleport.com/docs/installation/linux/), Community Edition and Enterprise are distributed as separate builds. For package-based deployments, you will need to replace `teleport` with `teleport-ent` and maintain a valid Enterprise license.

### Maintain a custom Teleport fork

Another option is to fork Teleport's AGPLv3-licensed codebase and remove the Enterprise feature checks on access requests. Give Claude Code, Codex, or Google Antigravity the codebase and a well-crafted prompt, and you might have a working patch in minutes.

The real work begins with the next upstream release. Your team becomes responsible for upstream merges, security backports, authentication testing, and building and distributing custom binaries across your infrastructure. AGPLv3 copyleft obligations come bundled, too. Corporate legal loves AGPLv3. Especially when you fork it.

### Consider an alternative to Teleport

[AlmaForge](https://almaforge.com/index.md) includes [just-in-time access requests](https://almaforge.com/just-in-time-access.md) with resource discovery (`searchAsRoles`), multi-party approval thresholds, delegated reviewers, and Slack, PagerDuty, Jira, and Telegram notifications in [AlmaForge Free](https://almaforge.com/pricing.md). It also includes [Okta](https://almaforge.com/sso/okta.md), [Microsoft Entra ID](https://almaforge.com/sso/microsoft.md), [Google Workspace](https://almaforge.com/sso/google.md), [GitHub](https://almaforge.com/sso/github.md), and generic [OIDC SSO](https://almaforge.com/sso/oidc.md).

The platform uses short-lived certificates, reverse tunnels, [label-based RBAC](https://almaforge.com/rbac.md), session playback, and [audit logs](https://almaforge.com/reference/audit.md), along with a [kubectl-style CLI](https://almaforge.com/cli.md).

You can translate your existing Teleport role-request policy directly to an AlmaForge `Role` resource and evaluate it side by side without touching your production Teleport cluster.

Reuse your Access Request role policy with AlmaForge

AlmaForge supports `searchAsRoles`, `thresholds`, `reviewRequests`, and `previewAsRoles` in both Free and Enterprise editions:

Teleport Community Edition (access-request-policy.yaml)

```yaml
kind: role

version: v7

metadata:

  name: access-request-policy

spec:

  allow:

    request:

      roles: [common, 'dev-*']

      search_as_roles: [access]

      max_duration: 7d

      thresholds:

        - approve: 2

          deny: 1

      claims_to_roles:

        - claim: projects

          value: '^product-(.*)$'

          roles: ['$1-admin']

      annotations:

        groups: ['{{external["groups"]}}']

    review_requests:

      roles: [dbadmin]

      preview_as_roles: [dbadmin]

      where: 'contains(reviewer.traits["team"], "dbadmin")'
```

AlmaForge Free & Enterprise (access-request-policy.yaml)

```yaml
# Request and review policy with thresholds and claim-derived roles.

apiVersion: almaforge.com/v1

kind: Role

metadata:

  name: access-request-policy

spec:

  allow:

    request:

      roles: [common, 'dev-*']

      searchAsRoles: [access]

      maxDuration: 7d

      thresholds:

        - approve: 2

          deny: 1

      claimsToRoles:

        - claim: projects

          value: '^product-(.*)$'

          roles: ['$1-admin']

      annotations:

        groups: ['{{external["groups"]}}']

    reviewRequests:

      roles: [dbadmin]

      previewAsRoles: [dbadmin]

      where: 'contains(reviewer.traits["team"], "dbadmin")'
```

Teleport Community Edition (tctl)

```bash
tctl create -f access-request-policy.yaml
ERROR: role field allow.request.thresholds is only available in enterprise
subscriptions
```

AlmaForge Free & Enterprise (alma)

```bash
alma apply -f access-request-policy.yaml
alma request create --roles=common --reason="incident-42"
```

Download [`access-request-policy.yaml`](https://almaforge.com/examples/rbac/access-request-policy.yaml). For the full field reference on `thresholds`, `searchAsRoles`, `reviewRequests`, and `where` predicates, see [RBAC: Access Requests](https://almaforge.com/rbac.md#access-requests).

Run an AlmaForge evaluation alongside Teleport and test multi-party approval, delegated reviewers, and `searchAsRoles` with your existing roles. Your production Teleport cluster remains unchanged. If AlmaForge fits your requirements, follow the [migration guide](https://almaforge.com/migrate/teleport.md) when you are ready.

## Further reading[​](#further-reading "Direct link to Further reading")

* [AlmaForge for Teleport users: migrate with a side-by-side deployment.](https://almaforge.com/migrate/teleport.md)
* [Configure just-in-time access requests in AlmaForge.](https://almaforge.com/just-in-time-access.md)
* [Run a local AlmaForge cluster in ten minutes.](https://almaforge.com/quickstart.md)
* [Compare AlmaForge Free and Enterprise editions.](https://almaforge.com/pricing.md)

***

### Disclaimer

Teleport and other third-party trademarks are the property of their respective owners and are used solely for identification and comparison. AlmaForge is not affiliated with, sponsored by, or endorsed by Teleport or its owners. This guide reflects publicly available information reviewed as of December 2026. Product features, pricing, and licensing are subject to change.
