summaryrefslogtreecommitdiff
path: root/gitlab/const.py
diff options
context:
space:
mode:
authorStuart Gunter <sgunter@equalexperts.com>2020-06-01 10:31:06 +0100
committerStuart Gunter <sgunter@equalexperts.com>2020-07-02 09:06:22 +0100
commitdab4d0a1deec6d7158c0e79b9eef20d53c0106f0 (patch)
tree4115ea08b7b871213a70cf06df5077c5fe2f7041 /gitlab/const.py
parent1f7dbc8dfb9c200d31ce8fad06feb235cade1481 (diff)
downloadgitlab-dab4d0a1deec6d7158c0e79b9eef20d53c0106f0.tar.gz
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
Diffstat (limited to 'gitlab/const.py')
-rw-r--r--gitlab/const.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitlab/const.py b/gitlab/const.py
index aef4a40..7791a39 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 <http://www.gnu.org/licenses/>.
+NO_ACCESS = 0
GUEST_ACCESS = 10
REPORTER_ACCESS = 20
DEVELOPER_ACCESS = 30