From 63bdcafb6062f0cc61ec4d2b121eee4f5a4fbf5f Mon Sep 17 00:00:00 2001
From: Florent Gluck <florent.gluck@hesge.ch>
Date: Fri, 7 Oct 2022 14:02:35 +0200
Subject: [PATCH] developers should now be able to push and merge on master
 branch

---
 pwm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pwm b/pwm
index a9f4556..04e786b 100755
--- a/pwm
+++ b/pwm
@@ -104,7 +104,7 @@ def create_repository(token: str, group_id: str, emails: List[str], name: str, i
           project['web_url'] + "' created")
 
     # Allow users with developer access level to push and merge on master
-    access_level = 30
+    access_level = 40
     params = {'name': 'master', 'push_access_level': str(
         access_level), 'merge_access_level': str(access_level)}
     requests.post(BASE_API_URL + '/projects/' +
-- 
GitLab