Create internal API to delete top level groups in an organization
Currently, we cannot delete top-level groups through our REST API to prevent accidental removal of groups. Therefore, we're creating this internal API to delete top level groups in organizations. All of these changes are behind the `ui_for_organizations` feature flag. This also does some refactor to move some common params to Groups::Params.
显示
- app/controllers/organizations/groups_controller.rb 15 个添加, 1 个删除app/controllers/organizations/groups_controller.rb
- config/routes/organizations.rb 2 个添加, 2 个删除config/routes/organizations.rb
- ee/app/controllers/concerns/ee/groups/params.rb 91 个添加, 0 个删除ee/app/controllers/concerns/ee/groups/params.rb
- ee/app/controllers/ee/groups_controller.rb 0 个添加, 64 个删除ee/app/controllers/ee/groups_controller.rb
- ee/app/controllers/ee/organizations/groups_controller.rb 34 个添加, 2 个删除ee/app/controllers/ee/organizations/groups_controller.rb
- ee/spec/requests/ee/organizations/groups_controller_spec.rb 149 个添加, 0 个删除ee/spec/requests/ee/organizations/groups_controller_spec.rb
- locale/gitlab.pot 3 个添加, 0 个删除locale/gitlab.pot
- spec/requests/organizations/groups_controller_spec.rb 146 个添加, 0 个删除spec/requests/organizations/groups_controller_spec.rb
加载中
想要评论请 注册 或 登录