File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,10 @@ def test_gitlab_publisher_all_known_claims(self):
218
218
"project_visibility" ,
219
219
"user_access_level" ,
220
220
"groups_direct" ,
221
+ "job_namespace_id" ,
222
+ "job_namespace_path" ,
223
+ "job_project_id" ,
224
+ "job_project_path" ,
221
225
}
222
226
223
227
def test_gitlab_publisher_computed_properties (self ):
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ class GitLabPublisherMixin:
154
154
155
155
__unchecked_claims__ = {
156
156
# We are not currently verifying project_id or namespace_id to protect against
157
- # resurrection attacks: https://github.com/pypi/warehouse/issues/13575
157
+ # resurrection attacks: https://github.com/pypi/warehouse/issues/15643
158
158
"project_id" ,
159
159
"namespace_id" ,
160
160
"namespace_path" ,
@@ -177,6 +177,10 @@ class GitLabPublisherMixin:
177
177
"project_visibility" ,
178
178
"user_access_level" ,
179
179
"groups_direct" ,
180
+ "job_namespace_id" ,
181
+ "job_namespace_path" ,
182
+ "job_project_id" ,
183
+ "job_project_path" ,
180
184
}
181
185
182
186
# Get the most specific publisher from a list of publishers,
You can’t perform that action at this time.
0 commit comments