| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a9163a9 commit 203bd92
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -82,13 +82,13 @@ Get a project's CI/CD job token inbound groups allowlist:: | |||
| 82 | 82 | ||
| 83 | 83 | allowlist = scope.groups_allowlist.list(get_all=True) | |
| 84 | 84 | ||
| 85 | - Add a project to the project's inbound groups allowlist:: | ||
| 85 | + Add a group to the project's inbound groups allowlist:: | ||
| 86 | 86 | ||
| 87 | - allowed_project = scope.groups_allowlist.create({"target_project_id": 42}) | ||
| 87 | + allowed_group = scope.groups_allowlist.create({"target_group_id": 42}) | ||
| 88 | 88 | ||
| 89 | - Remove a project from the project's inbound agroups llowlist:: | ||
| 89 | + Remove a group from the project's inbound groups allowlist:: | ||
| 90 | 90 | ||
| 91 | - allowed_project.delete() | ||
| 91 | + allowed_group.delete() | ||
| 92 | 92 | # or directly using a Group ID | |
| 93 | 93 | scope.groups_allowlist.delete(42) | |
| 94 | 94 | ||
@@ -97,4 +97,3 @@ Remove a project from the project's inbound agroups llowlist:: | |||
| 97 | 97 | Similar to above, the ID attributes you receive from the create and list | |
| 98 | 98 | APIs are not consistent. To safely retrieve the ID of the allowlisted group | |
| 99 | 99 | regardless of how the object was created, always use its ``.get_id()`` method. | |
| 100 | - | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments