diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-08-11 19:46:34 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-08-11 19:48:53 +0200 |
commit | 2ced9d0717ee84169f9b1f190fb6694e1134572d (patch) | |
tree | 3b16cf6cf9bd11b1c205eeee7037deb5a5bb128a /gitlab/const.py | |
parent | 23b2a3072238546da2a2f8e48ce09db85a59feef (diff) | |
download | gitlab-2ced9d0717ee84169f9b1f190fb6694e1134572d.tar.gz |
Move the constants at the gitlab root level
Diffstat (limited to 'gitlab/const.py')
-rw-r--r-- | gitlab/const.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gitlab/const.py b/gitlab/const.py new file mode 100644 index 0000000..7930c0b --- /dev/null +++ b/gitlab/const.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# +# Copyright (C) 2016 Gauvain Pocentek <gauvain@pocentek.net> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# 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/>. + +GUEST_ACCESS = 10 +REPORTER_ACCESS = 20 +DEVELOPER_ACCESS = 30 +MASTER_ACCESS = 40 +OWNER_ACCESS = 50 + +VISIBILITY_PRIVATE = 0 +VISIBILITY_INTERNAL = 10 +VISIBILITY_PUBLIC = 20 |