Skip to main content

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​

When you create or update a role, the Teleport Auth Service runs checkRoleFeatureSupport in lib/auth/auth_with_roles.go. In pseudocode:

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​

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, 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, 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 includes just-in-time access requests with resource discovery (searchAsRoles), multi-party approval thresholds, delegated reviewers, and Slack, PagerDuty, Jira, and Telegram notifications in AlmaForge Free. It also includes Okta, Microsoft Entra ID, Google Workspace, GitHub, and generic OIDC SSO.

The platform uses short-lived certificates, reverse tunnels, label-based RBAC, session playback, and audit logs, along with a kubectl-style CLI.

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)
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)
# 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)
tctl create -f access-request-policy.yamlERROR: role field allow.request.thresholds is only available in enterprisesubscriptions
AlmaForge Free & Enterprise (alma)
alma apply -f access-request-policy.yamlalma request create --roles=common --reason="incident-42"

Download access-request-policy.yaml. For the full field reference on thresholds, searchAsRoles, reviewRequests, and where predicates, see RBAC: 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 when you are ready.

Further reading​


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.