Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add group api parameters #1073

Merged
merged 3 commits into from
Dec 27, 2023
Merged

Conversation

simon-weimann
Copy link
Contributor

  • adds protected_against_pushes and full_protection_after_initial_push branch protection level
  • adds prevent_sharing_groups_outside_of_hierarchy
  • adds prevent_forking_outside_group

- adds protected_against_pushes and full_protection_after_initial_push
  branch protection level
- adds prevent_sharing_groups_outside_of_hierarchy
- adds prevent_forking_outside_group
Copy link
Collaborator

@jmini jmini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that those flags are also part of the response returned on group update or create.

So we should add those in Group and update the group.json as well.

- default_branch_protection
- subgroup_creation_level
- project_creation_level
- prevent_forking_outside_group
- prevent_sharing_groups_outside_hierarchy
@simon-weimann
Copy link
Contributor Author

simon-weimann commented Dec 22, 2023

Hi @jmini,

thanks for the feedback. I have incorporated the requested changes.

The failing tests seem to be broken on the main branch see https://github.com/gitlab4j/gitlab4j-api/actions/runs/7297607949/job/19887139845

@simon-weimann simon-weimann requested a review from jmini December 22, 2023 12:54
@jmini
Copy link
Collaborator

jmini commented Dec 27, 2023

Sorry about the failing tests on the main branch.
I made a mistake with a merge-request that I merged only partially.
This was fixed yesterday.

I have now pushed origin/main into your branch.

Copy link
Collaborator

@jmini jmini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will perform some tests and merge

jmini added a commit to jmini/gitlab-experiments that referenced this pull request Dec 27, 2023
@jmini jmini merged commit 6a89da0 into gitlab4j:main Dec 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants