Closed eskriett closed 6 years ago
It's possible for the GitLab API to return an access_level of 0, e.g. for branches that no one is allowed to merge into.
access_level
The official gitlab docs don't describe this access level, but the module they refer to does have a constant defined for NO_ACCESS: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/gitlab/access.rb#L10.
NO_ACCESS
Would be great if this could be added to the list of GitLab::API::v4::Constants.
GitLab::API::v4::Constants
Thanks - always good to be complete. :)
(and I typoed the POD. fixed in a followup commit)
It's possible for the GitLab API to return an
access_level
of 0, e.g. for branches that no one is allowed to merge into.The official gitlab docs don't describe this access level, but the module they refer to does have a constant defined for
NO_ACCESS
: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/gitlab/access.rb#L10.Would be great if this could be added to the list of
GitLab::API::v4::Constants
.