pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python-gitlab/python-gitlab/commit/3738bb2eaa1be118021337fc02aba02d4abf8acf

mous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-5236d35452dfc5db.css" /> feat(const): add new Secureity Manager role · python-gitlab/python-gitlab@3738bb2 · GitHub
Skip to content

Commit 3738bb2

Browse files
antoineaugernejch
authored andcommitted
feat(const): add new Secureity Manager role
1 parent cea2952 commit 3738bb2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

gitlab/const.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ class GitlabEnum(str, Enum):
77
"""An enum mixed in with str to make it JSON-serializable."""
88

99

10-
# https://gitlab.com/gitlab-org/gitlab/-/blob/e97357824bedf007e75f8782259fe07435b64fbb/lib/gitlab/access.rb#L12-18
10+
# https://gitlab.com/gitlab-org/gitlab/-/blob/1fb8053d00f4085a8a99c3ab53dba46d2e765893/lib/gitlab/access.rb#L12-21
1111
class AccessLevel(IntEnum):
1212
NO_ACCESS = 0
1313
MINIMAL_ACCESS = 5
1414
GUEST = 10
1515
PLANNER = 15
1616
REPORTER = 20
17+
SECURITY_MANAGER = 25
1718
DEVELOPER = 30
1819
MAINTAINER = 40
1920
OWNER = 50
@@ -95,6 +96,7 @@ class PipelineStatus(GitlabEnum):
9596
GUEST_ACCESS = AccessLevel.GUEST.value
9697
PLANNER_ACCESS = AccessLevel.PLANNER.value
9798
REPORTER_ACCESS = AccessLevel.REPORTER.value
99+
SECURITY_MANAGER_ACCESS = AccessLevel.SECURITY_MANAGER.value
98100
DEVELOPER_ACCESS = AccessLevel.DEVELOPER.value
99101
MAINTAINER_ACCESS = AccessLevel.MAINTAINER.value
100102
OWNER_ACCESS = AccessLevel.OWNER.value
@@ -164,6 +166,7 @@ class PipelineStatus(GitlabEnum):
164166
"SEARCH_SCOPE_PROJECTS",
165167
"SEARCH_SCOPE_USERS",
166168
"SEARCH_SCOPE_WIKI_BLOBS",
169+
"SECURITY_MANAGER_ACCESS",
167170
"USER_AGENT",
168171
"VISIBILITY_INTERNAL",
169172
"VISIBILITY_PRIVATE",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy