From 77c09ed65413802e34e1fe7f9a9f53d6cbb2e222 Mon Sep 17 00:00:00 2001
From: Nir Ozery <nir.ozery@treeverse.io>
Date: Fri, 15 Nov 2024 11:53:20 -0500
Subject: [PATCH] Fix: RepoManagementReadAll pull requests permissions

---
 pkg/auth/base.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/auth/base.go b/pkg/auth/base.go
index 6cdce838a02..d9a57cf3c84 100644
--- a/pkg/auth/base.go
+++ b/pkg/auth/base.go
@@ -60,8 +60,8 @@ var statementByName = map[string]model.Statement{
 			"ci:Read*",
 			"retention:Get*",
 			"branches:Get*",
-			"pr:Get*",
 			"pr:Read*",
+			"pr:List*",
 			permissions.ReadConfigAction,
 		},