From 1d73ae387cf7b19e19e6447fb1f18d67a0e36c2c Mon Sep 17 00:00:00 2001 From: MalinAhlberg Date: Fri, 29 Nov 2024 10:21:31 +0100 Subject: [PATCH] [tests] add rbac permissions for file deletion endpoint --- .github/integration/sda/rbac.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/integration/sda/rbac.json b/.github/integration/sda/rbac.json index d9832f547..92b681119 100644 --- a/.github/integration/sda/rbac.json +++ b/.github/integration/sda/rbac.json @@ -20,6 +20,11 @@ "path": "/file/accession", "action": "POST" }, + { + "role": "admin", + "path": "/file/*", + "action": "(DELETE)" + }, { "role": "submission", "path": "/users",