Skip to content

Limit level of nesting for groups

Dmytro Zaporozhets (DZ) requested to merge dz-limit-nested-groups into master

What does this MR do?

Limit level of nesting to 20

Are there points in the code the reviewer needs to double check?

no

Why was this MR needed?

To prevent overuse of the feature. GitLab UI cant display infinite level of nesting anyway. The number 20 was taken based on maximum nesting level of Android repo (15) + some extra backup

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/2772

Merge request reports