Expose invite_accepted_at field to display member access granted 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. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

What does this MR do and why?

This MR introduces changes to ensure that the Access granted date is displayed correctly based on the available data. The change handles the case when the invite_accepted_at field in the member entity is not null, meaning the user has been invited by email and uses this field to display the Access granted date.

Screenshots or screen recordings

User's data in the database (members table):

db.png

Before After
before.png after.png

How to set up and validate locally

  1. Use any project and invite a user by email.
  2. Ensure the invitation is accepted.
  3. Navigate to this project.
  4. In the sidebar, navigate to Manage -> Members.
  5. Find invited user and observe an Access granted date.

Related to #24721 (closed)

Edited by Anton Kalmykov

Merge request reports

Loading