Skip to content

Commit

Permalink
Merge pull request #123 from ralphbean/read-only
Browse files Browse the repository at this point in the history
Only read access is necessary to view
  • Loading branch information
ralphbean authored Feb 10, 2025
2 parents 199691f + afd14ff commit dd70fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ var getNamespacesWithAccess = func(
var allowedNs []core.Namespace
for _, ns := range allNamespaces {
notAllowed := false
for _, verb := range []string{"create", "list", "watch", "delete"} {
for _, verb := range []string{"list", "watch"} {
for _, resource := range []string{"applications", "components"} {
allowed, err := runAccessCheck(
authCl,
Expand Down

0 comments on commit dd70fdc

Please sign in to comment.