Skip to content

Commit

Permalink
Add missing scope
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Oct 14, 2024
1 parent 4b44c78 commit a1ce33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/tasks/account_management.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (j *Janitor) createOrUpdateManagedAccount(ctx context.Context, account kepp
viewScope := auth.Scope{
ResourceType: "keppel_account",
ResourceName: string(account.Name),
Actions: []string{"view"},
Actions: []string{"change", "view"},
}

client, err := peerclient.New(ctx, j.cfg, peer, viewScope)
Expand Down

0 comments on commit a1ce33d

Please sign in to comment.