Add admin users usage billing route

What does this MR do and why?

For more details please check the issue: https://gitlab.com/gitlab-org/gitlab/-/issues/566200

Screenshots or screen recordings

Check the issue https://gitlab.com/gitlab-org/gitlab/-/issues/566200

How to set up and validate locally

  1. Have a valid license in your GDK
  2. Access the url: https://gdk.test:3443/admin/gitlab_duo/usage/users/123
  3. Check if it loads:
    1. If GITLAB_SIMULATE_SAAS=1 -> 404
    2. If GITLAB_SIMULATE_SAAS=0 -> OK
    3. If you remove your license -> 404
    4. If usage_billing_dev is enabled -> OK
    5. If usage_billing_dev is disabled -> 404

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sheldon Led

Merge request reports

Loading