Skip to content

Use requestAcceptedAt field from member entity to show access given date

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

In the earlier MR ( !152584 (merged)) we've added the request_accepted_at column in the member model to store the user's access granted date/time.

In this MR we expose this field and use it to render the correct access granted date on the client side.

Related to: #24721

Changelog: changed

Screenshots or screen recordings

Before After
before.mov after.mov

How to set up and validate locally

  1. Run gdk or go to GitLab .
  2. Request access to a project.
  3. Using the user who has permission to accept new members approve the request.
  4. Review the result (the Access granted date must correspond to the date when the request was approved).
Edited by 🤖 GitLab Bot 🤖

Merge request reports