Skip to content

Remove create group option from duo pro trials

Doug Stull requested to merge 451776-restrict-group-creation into master

What does this MR do and why?

Remove create group option from duo pro trials

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

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

Before After
Screenshot_2024-03-25_at_5.26.19_PM Screenshot_2024-03-25_at_6.04.07_PM

How to set up and validate locally

bin/rails c

Feature.enable(:duo_pro_trials)
bin/rails c

GitlabSubscription.last.update(hosted_plan: Plan.find_by(name: 'ultimate'))
  • Create group.
bin/rails c

GitlabSubscription.last.update(hosted_plan: Plan.find_by(name: 'ultimate_trial'), trial_starts_on: 1.days.ago, trial_ends_on: 29.days.from_now, trial: true)
  • Visit /-/trials/duo_pro/new?step=trial
  • Make sure no create group option exists.

Related to #451776

Edited by Doug Stull

Merge request reports