Nested groups API
What does this MR do?
- Allow creating nested groups via API
- Expose Group#parent_id via API
Are there points in the code the reviewer needs to double check?
no
Why was this MR needed?
People can work with nested groups via API
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Merge request reports
Activity
mentioned in issue #2772 (closed)
marked the task Documentation created/updated as completed
marked the task Changelog entry added as completed
marked the task Conform by the merge request performance guides as completed
marked the task Conform by the style guides as completed
marked the task Squashed related commits together as completed
@timothyandrew please review
assigned to @timothyandrew
- Resolved by username-removed-2900
398 399 expect(json_response["request_access_enabled"]).to eq(group[:request_access_enabled]) 399 400 end 400 401 402 it "creates a nested group" do @razer6 non existing parent handled in Groups::CreateService as part of validation. Error handling in API will be same as any other validation error below.
mentioned in merge request !8786 (merged)
Hm looks like @timothyandrew is off today. @DouweM maybe you have time to review this MR?
assigned to @DouweM
@dzaporozhets Code LGTM. Please check https://gitlab.com/gitlab-org/gitlab-ce/builds/10102161!
assigned to @dzaporozhets
mentioned in commit 3d206700
added subgroups label