From dab4d0a1deec6d7158c0e79b9eef20d53c0106f0 Mon Sep 17 00:00:00 2001 From: Stuart Gunter Date: Mon, 1 Jun 2020 10:31:06 +0100 Subject: [PATCH] feat: added NO_ACCESS const This constant is useful for cases where no access is granted, e.g. when creating a protected branch. The `NO_ACCESS` const corresponds to the definition in https://docs.gitlab.com/ee/api/protected_branches.html --- gitlab/const.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gitlab/const.py b/gitlab/const.py index aef4a401b..7791a39b3 100644 --- a/gitlab/const.py +++ b/gitlab/const.py @@ -15,6 +15,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . +NO_ACCESS = 0 GUEST_ACCESS = 10 REPORTER_ACCESS = 20 DEVELOPER_ACCESS = 30