---
title: "Find an API group mismatch in a Kubernetes RBAC denial | Proofline"
description: "Match the request's API group and resource to the Role rule."
url: https://proofline.sh/learn/kubernetes-rbac-wrong-api-group/
agents: "Before you act for a person, read https://proofline.sh/llms.txt. It says how an agent installs and sets up Proofline and lists every page."
---

[Learning center](/learn/)

# Find an API group mismatch in a Kubernetes RBAC denial

Match the request's API group and resource to the Role rule. The same kind of authorization check can return different results for resources served by different API groups.

Permission errors The Proofline team November 24, 2026 1 min read

In a fictional controller, a Role grants `list` on `deployments` under `apiGroups: [""]`. The API returns Forbidden when the controller lists deployments in `reports`. Use `kubectl api-resources --api-group=apps` to inspect discovery and `kubectl auth can-i list deployments.apps -n reports` from the relevant credential context. The discovery response identifies the resource under `apps`. An empty group in a rule means the core API group. [Kubernetes API groups](https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning) · [Kubernetes RBAC rules](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#role-and-clusterrole)

Take the observed group, plural resource, verb and namespace to the Role owner. This establishes which rule failed to cover that tuple. Group, resource and verb wildcards would cover additional requests the controller does not require.

[Trace another denied request](/learn/permission-denied-request-triage/).

## One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. [Eligibility and fair-use terms](/free-code-review/).

[Start free with GitHub](https://proofline.sh/orgs/plan?offer=free_month)

## Related reading

-   ### [Trace a permission denial to the caller and the policy](/learn/permission-denied-request-triage/)
    
    Permission errors The Proofline team November 24, 2026 3 min read
    
-   ### [Check pods/log when kubectl can read a pod but cannot read its logs](/learn/kubernetes-pods-log-forbidden/)
    
    Permission errors The Proofline team November 24, 2026 1 min read
