Use requestAcceptedAt field from member entity to show access given date
requested to merge gitlab-community/gitlab:24721_Members_given_access_date_and_time_is_wrong into master
-
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
- Run
gdk
or go toGitLab
. - Request access to a project.
- Using the user who has permission to accept new members approve the request.
- Review the result (the
Access granted
date must correspond to the date when the request was approved).
Edited by 🤖 GitLab Bot 🤖