Skip to content

Commit

Permalink
fix(cli): add missing resources and actions to cani CLI (#20347)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev authored Oct 15, 2024
1 parent 7ab5015 commit e654ed5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guide/commands/argocd_account_can-i.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions server/rbacpolicy/rbacpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ var (
ResourceApplicationSets,
ResourceRepositories,
ResourceCertificates,
ResourceAccounts,
ResourceGPGKeys,
ResourceLogs,
ResourceExec,
ResourceExtensions,
}
Actions = []string{
ActionGet,
Expand All @@ -56,6 +59,8 @@ var (
ActionDelete,
ActionSync,
ActionOverride,
ActionAction,
ActionInvoke,
}
)

Expand Down

0 comments on commit e654ed5

Please sign in to comment.