java-gitlab-api icon indicating copy to clipboard operation
java-gitlab-api copied to clipboard

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

Open ashwin25 opened this issue 4 years ago • 0 comments

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.

ashwin25 avatar Aug 12 '21 12:08 ashwin25