FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: added NO_ACCESS const · python-gitlab/python-gitlab@dab4d0a · GitHub

Repository navigation

Commit dab4d0a

Browse files
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 dab4d0a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL