Skip to content

Move admin cohorts to separate controller

What does this MR do?

  1. Moves cohorts logic to its own controller.
  2. Moves cohorts route from admin/users/-/cohorts to admin/cohorts so we can avoid -.

History:

  1. Cohorts moved under users#index in !51707 (merged)
  2. Cohorts moved under users#cohorts in !59890 (merged)

This MR reverts some of the changes made in previous merge requests for better code separation while keeping UI part the same.

Fixes #328797 (closed)

Screenshots (strongly suggested)

No visual changes

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Dmytro Zaporozhets (DZ)

Merge request reports

Loading