Skip to content

Commit 3c210c3

Browse files
committed
feat: add support for groups_allowlist in job_token_scope
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
1 parent 8f12f86 commit 3c210c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/job_token_scope.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ def get_id(self) -> int:
7272

7373
class AllowlistedGroupManager(ListMixin, CreateMixin, DeleteMixin, RESTManager):
7474
_path = "/projects/{project_id}/job_token_scope/groups_allowlist"
75-
_obj_cls = AllowlistedProject
75+
_obj_cls = AllowlistedGroup
7676
_from_parent_attrs = {"project_id": "project_id"}
7777
_create_attrs = RequiredOptional(required=("target_group_id",))

0 commit comments

Comments
 (0)