Skip to content

Commit

Permalink
🐛 Fixes addon POST /files failing with 401. (#589)
Browse files Browse the repository at this point in the history
Fixes https://issues.redhat.com/browse/MTA-1966

The new addon uploading of command output files (also) requires POST and
PATCH on files/.

Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel authored Jan 5, 2024
1 parent 0cb5197 commit 4ed9b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var AddonRole = []string{
"tasks:get",
"tasks.report:*",
"tasks.bucket:get",
"files:get",
"files:*",
"rulesets:get",
}

Expand Down

0 comments on commit 4ed9b6d

Please sign in to comment.