Skip to content

Commit

Permalink
feat: added NO_ACCESS const
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Stuart Gunter committed Jul 2, 2020
1 parent 1f7dbc8 commit dab4d0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitlab/const.py
Expand Up @@ -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
Expand Down

0 comments on commit dab4d0a

Please sign in to comment.