Skip to content

Fix 500 error when deleting pending user invite in SaaS mode

On the Manage -> Members page, a user can be invited by e-mail. If the user is not someone who has an account on gitlab.com, they will be marked as a pending invite. When the invite is deleted, a 500 error will be thrown:

2024-08-21_16-43-13

This MR fixes the 500 error:

2024-08-21_16-51-14

How to set up and validate locally

Enable SaaS mode by running the following shell commands:

export GITLAB_SIMULATE_SAAS=1
gdk restart

Then follow the same steps I ran through in the videos above.

Related to #480280 (closed)

Merge request reports

Loading