Skip to content

Make role required when editing profile

What does this MR do?

Make the role attribute required for users when editing their profile. Only make the role required in the update service, since we don't want to impact saving users on other places in the application where a role possibly cannot be selected.

Problem

We are not collecting Role on signup. This will be a great way to determine how to engage with users to expand their usage of the product, and to help them understand the feature set in their language. Though we collect this at signup, we do not collect this for existing users.

Proposal

When a user updates their profile, we should ensure that all fields are adequately filled in. Role being one of those required fields. As a result, when a user goes to update their profile information, we should ensure that that user fills in their role before completing this info.

Closes gitlab-org/growth/engineering#91 (closed)

Merge request reports

Loading