Skip to content

Provide a way to filter out infra grants in the /api/grants API #3800

@jmorganca

Description

@jmorganca

Infra's clients (Dashboard and CLI) need to filter out grants that assign access to infra (i.e. Infra API itself), but there isn't an easy way to do this in the API.

The GET /api/grants endpoint should hide these grants by default, and allow for showing them via ?showSystem=true (similar to what is used elsewhere) or ?showInfra=true.

Metadata

Metadata

Assignees

Labels

kind/improvementA report of a quality problem, or a change that addresses a quality problem.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions