How is Argo CD RBAC structured?
BeginnerConceptAppProjects, RBAC & SSO
Answer
Casbin policy in argocd-rbac-cm. Policy lines: p, <subject>, <resource>, <action>, <object>, <effect>. Group lines: g, <user-or-group>, <role>.
p, role:team-a-dev, applications, sync, team-a/*, allow
g, my-org:team-a, role:team-a-dev
Resources include applications, applicationsets, projects, clusters, repositories, accounts, certificates, gpgkeys, logs, exec. Built-in roles are role:readonly and role:admin. policy.default is applied to every authenticated user.
More on AppProjects, RBAC & SSO
What is an AppProject and what can it restrict?BeginnerWhy should teams not use the `default` project?BeginnerWhat does an empty `clusterResourceWhitelist` mean?IntermediateHow do project roles and JWT tokens work?IntermediateWhat are sync windows?IntermediateWhat do `allow` and `deny` effects do when both match?Intermediate