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

gitlab 13.x gitlab access level 5 not supported- throws exception #393

Open
ashwin25 opened this issue Aug 12, 2021 · 0 comments
Open

gitlab 13.x gitlab access level 5 not supported- throws exception #393

ashwin25 opened this issue Aug 12, 2021 · 0 comments

Comments

@ashwin25
Copy link

exception while looping through git projects through GitlabProject object :
Caused by: java.lang.IllegalArgumentException: No GitLab Access Level enum constant with access value: 5

gitlab has introduced level 5 minimum access level in git 13.x as documented here -> https://docs.gitlab.com/ee/api/access_requests.html#valid-access-levels

fix required in this file-> https://github.com/timols/java-gitlab-api/blob/master/src/main/java/org/gitlab/api/models/GitlabAccessLevel.java#L5-L10

@timols i shall raise a PR shortly based on contrib guidelines please accept.

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

No branches or pull requests

1 participant