Skip to content

Disallow email invitation when email signup is not active

What does this MR do and why?

With this MR, we are disallowing invitation via email for all instances where Email Signup is disabled. The changes also add an alert. The alert contains a link when the current user has Admin role.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Condition Expectation Screenshot
Email Signup enabled
Group: No alert message
ScreenshotScreenshot_2023-10-17_at_12.12.01
Project: No alert message
ScreenshotScreenshot_2023-10-17_at_12.11.53
Email Signup disabled
-- No Admin
Project: Alert message
ScreenshotScreenshot_2023-10-17_at_12.24.42
Project: Email not found
ScreenshotScreenshot_2023-10-17_at_12.24.46
Project: Error submitting email
ScreenshotScreenshot_2023-10-17_at_12.24.48
-- Admin
Group: Alert message
ScreenshotScreenshot_2023-10-17_at_12.23.31
Project: Alert message
ScreenshotScreenshot_2023-10-17_at_12.27.28
Group: Email not found
ScreenshotScreenshot_2023-10-17_at_12.23.36
Project: Email not found
ScreenshotScreenshot_2023-10-17_at_12.27.32
Group: Error submitting email
ScreenshotScreenshot_2023-10-17_at_12.23.40
Project: Error submitting email
ScreenshotScreenshot_2023-10-17_at_12.27.34

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #356965

Edited by Angelo Gulina

Merge request reports