Skip to content

Draft: Add Pending promotion tab to the group and project

What does this MR do and why?

This is a PoC for FE: Add a “Pending promotion” tab to the group ... (#433174 - closed)

Context: Ultimate license SM instances account GUEST users as non-billable. The parent epic [Phase 1] Add Controls for Ability to Promote N... (&12141) adds a set of flows and UIs to allow customers to control the promotion from non-billable to billable roles.

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

Before After
N/A image
N/A image

How to set up and validate locally

  1. Enable Setting setting = ApplicationSetting.first; setting.enable_member_promotion_management=true; setting.save!
  2. Enable FF Feature.enable(:member_promotion_management)
  3. Purchase Ultimate License, and simulate Ultimate SM setup
  4. Visit any Group as a non-instance-admin user (i.e. an owner)
  5. try promoting a non-billable GUEST member to a DEVELOPER role
  6. Reload the page, you should see a new "Promotions" tab, as seen on the screenshots.
  7. Repeat the same for a Project member

NOTE: The user should be non-billable on the instance, i.e. have a GUEST highest role. If there's any hiccup in role updates or billable position calculation — please check the instance Background Jobs, and in the scheduled tab select all UpdateHighestRoleWorker jobs, and press "Add to the queue".

example

image

Edited by Kos Palchyk

Merge request reports