Skip to content

Add Enterprise group attributes to admin UI

Cynthia "Arty" Ng requested to merge admin-enterprise-user into master

What does this MR do and why?

With the addition of user attributes regarding the enterprise group in !122871 (merged), we want to expose these attributes to admins on the user details page in the UI.

Note: This was done for the API in !125764 (merged).

Screenshots or screen recordings

Before After
admin_enterprise_before admin_enterprise_after

How to set up and validate locally

  1. Update a user manually using rails console, such as User.find(5).user_detail.update!(enterprise_group_id: 33, enterprise_group_associated_at: DateTime.now).
  2. View the user's detail in /admin/users/USERNAME.

Alternatively:

  1. Follow the steps in !130735 (merged)
  2. View the user's detail in /admin/users/USERNAME.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Cynthia "Arty" Ng

Merge request reports