File tree Expand file tree Collapse file tree 3 files changed +1
-13
lines changed
Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 2525REPORTER_ACCESS : int = 20
2626DEVELOPER_ACCESS : int = 30
2727MAINTAINER_ACCESS : int = 40
28- MASTER_ACCESS : int = MAINTAINER_ACCESS
2928OWNER_ACCESS : int = 50
3029
3130VISIBILITY_PRIVATE : int = 0
Original file line number Diff line number Diff line change 7474from .variables import *
7575from .wikis import *
7676
77- # TODO: deprecate these in favor of gitlab.const.*
78- VISIBILITY_PRIVATE = "private"
79- VISIBILITY_INTERNAL = "internal"
80- VISIBILITY_PUBLIC = "public"
81-
82- ACCESS_GUEST = 10
83- ACCESS_REPORTER = 20
84- ACCESS_DEVELOPER = 30
85- ACCESS_MASTER = 40
86- ACCESS_OWNER = 50
87-
8877__all__ = [name for name in dir () if not name .startswith ("_" )]
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def test_project_snippets(project):
3333 "title" : "snip1" ,
3434 "file_name" : "foo.py" ,
3535 "content" : "initial content" ,
36- "visibility" : gitlab .v4 . objects . VISIBILITY_PRIVATE ,
36+ "visibility" : gitlab .VISIBILITY_PRIVATE ,
3737 }
3838 )
3939
You can’t perform that action at this time.
0 commit comments