Skip to content

Commit 2ff4b3c

Browse files
author
Stuart Gunter
committed
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
1 parent 1f7dbc8 commit 2ff4b3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# You should have received a copy of the GNU Lesser General Public License
1616
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717

18+
NO_ACCESS = 0
1819
GUEST_ACCESS = 10
1920
REPORTER_ACCESS = 20
2021
DEVELOPER_ACCESS = 30

0 commit comments

Comments
 (0)