Skip to content

Commit

Permalink
[v14] fix enrolling new resource by adding missing read verb (#35053)
Browse files Browse the repository at this point in the history
* fix enrolling new resource by adding missing read verb

Signed-off-by: Evan Freed <[email protected]>

* add to list

Signed-off-by: Evan Freed <[email protected]>

* lint

Signed-off-by: Evan Freed <[email protected]>

---------

Signed-off-by: Evan Freed <[email protected]>
  • Loading branch information
evanfreed authored Nov 28, 2023
1 parent eb73629 commit 5faff9b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ export function AwsAccount() {

let roleTemplate = integrationRWE;
let hasAccess =
integrationAccess.create && integrationAccess.list && integrationAccess.use;
integrationAccess.create &&
integrationAccess.list &&
integrationAccess.use &&
integrationAccess.read;

// Ensure required permissions based on which flow this is in.
if (viewConfig.kind === ResourceKind.Database) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ spec:
verbs:
- list
- create
- use
- use
- read
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
- list
- create
- use
- read
- resources:
- db
verbs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
- list
- create
- use
- read
- resources:
- node
verbs:
Expand Down

0 comments on commit 5faff9b

Please sign in to comment.