Expiration date on project membership

What does this MR do?

It adds the option to set the expiration date for the project membership when giving a user access to a project. It's part of the feature described in #17495 (closed)

Are there points in the code the reviewer needs to double check?

  • Coherence with the rest of the codebase (I could have missed some conventions)
  • Other places where app/views/shared/members/_member.html.haml partial is used

Why was this MR needed?

The motivation is explained in #17495 (closed)

What are the relevant issue numbers?

#17495 (closed)


gitlab1 gitlab2 gitlab3

Does this MR meet the acceptance criteria?

Merge request reports