From 4ed9b6d9b845a43e5db293a05299873941a130d8 Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Fri, 5 Jan 2024 09:22:45 -0600 Subject: [PATCH] :bug: Fixes addon POST /files failing with 401. (#589) 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 --- auth/role.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/role.go b/auth/role.go index b52cc4637..96e2c45e7 100644 --- a/auth/role.go +++ b/auth/role.go @@ -29,7 +29,7 @@ var AddonRole = []string{ "tasks:get", "tasks.report:*", "tasks.bucket:get", - "files:get", + "files:*", "rulesets:get", }