How do you scope RBAC to specific projects and applications?
Short answer
Use the object field as project/application with wildcards, e.g., `team-a/*` grants a role over all apps in the team-a project.
Advertisement
AModel answer
Use the object field as project/application with wildcards, e.g., `team-a/*` grants a role over all apps in the team-a project. Because AppProjects group apps and constrain destinations/sources, scoping RBAC by project gives clean multi-tenant boundaries—each team manages only its project's apps.
Example
p, role:team-a, applications, *, team-a/*, allow
Real-world example
Team A's role has full application actions but only within the team-a project, isolating them from other teams.
Likely follow-ups
- Why scope RBAC by project? | What does the object field represent?
Related topics