Back to results for “Applications”
ArgoCD › RBAC

How do you create a read-only role scoped to one project?

Intermediate

Answer

Define policy lines granting only get on that project's apps: `p, role:viewer-a, applications, get, team-a/*, allow`, then bind users/groups with a g line. They can view team-a apps but not sync or modify them, and nothing outside the project.
p, role:viewer-a, applications, get, team-a/*, allow
g, team-a-viewers, role:viewer-a
Real-world example Auditors get read-only visibility into team A's apps without any change rights.

Common follow-ups: What action gives view-only? | How do you scope to one project?