GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: rename MASTER_ACCESS · python-gitlab/python-gitlab@c38775a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs/gl_objects
    • access_requests.rst
    • groups.rst
    • projects.rst
    • protected_branches.rst
  • gitlab
    • const.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/gl_objects/access_requests.rst‎

Copy file name to clipboardExpand all lines: docs/gl_objects/access_requests.rst
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ following constants are provided to represent the access levels:
1010
* ``gitlab.GUEST_ACCESS``: ``10``
1111
* ``gitlab.REPORTER_ACCESS``: ``20``
1212
* ``gitlab.DEVELOPER_ACCESS``: ``30``
13-
* ``gitlab.MASTER_ACCESS``: ``40``
13+
* ``gitlab.MAINTAINER_ACCESS``: ``40``
1414
* ``gitlab.OWNER_ACCESS``: ``50``
1515

1616
References
@@ -43,7 +43,7 @@ Create an access request::
4343
Approve an access request::
4444

4545
ar.approve() # defaults to DEVELOPER level
46-
ar.approve(access_level=gitlab.MASTER_ACCESS) # explicitly set access level
46+
ar.approve(access_level=gitlab.MAINTAINER_ACCESS) # explicitly set access level
4747

4848
Deny (delete) an access request::
4949

Collapse file

‎docs/gl_objects/groups.rst‎

Copy file name to clipboardExpand all lines: docs/gl_objects/groups.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The following constants define the supported access levels:
142142
* ``gitlab.GUEST_ACCESS = 10``
143143
* ``gitlab.REPORTER_ACCESS = 20``
144144
* ``gitlab.DEVELOPER_ACCESS = 30``
145-
* ``gitlab.MASTER_ACCESS = 40``
145+
* ``gitlab.MAINTAINER_ACCESS = 40``
146146
* ``gitlab.OWNER_ACCESS = 50``
147147

148148
Reference
Collapse file

‎docs/gl_objects/projects.rst‎

Copy file name to clipboardExpand all lines: docs/gl_objects/projects.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ Add a project member::
493493

494494
Modify a project member (change the access level)::
495495

496-
member.access_level = gitlab.MASTER_ACCESS
496+
member.access_level = gitlab.MAINTAINER_ACCESS
497497
member.save()
498498

499499
Remove a member from the project team::
Collapse file

‎docs/gl_objects/protected_branches.rst‎

Copy file name to clipboardExpand all lines: docs/gl_objects/protected_branches.rst
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Create a protected branch::
3232
p_branch = project.protectedbranches.create({
3333
'name': '*-stable',
3434
'merge_access_level': gitlab.DEVELOPER_ACCESS,
35-
'push_access_level': gitlab.MASTER_ACCESS
35+
'push_access_level': gitlab.MAINTAINER_ACCESS
3636
})
3737

3838
Delete a protected branch::
Collapse file

‎gitlab/const.py‎

Copy file name to clipboardExpand all lines: gitlab/const.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
GUEST_ACCESS = 10
1919
REPORTER_ACCESS = 20
2020
DEVELOPER_ACCESS = 30
21-
MASTER_ACCESS = 40
21+
MAINTAINER_ACCESS = 40
22+
MASTER_ACCESS = MAINTAINER_ACCESS
2223
OWNER_ACCESS = 50
2324

2425
VISIBILITY_PRIVATE = 0

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.