Skip to content

Show warning when adding user to group that incur a charge

What does this MR do?

It shows a warning dialog when adding a user to a group will incur a charge. This happens when the subscription reaches (or about to reach) its seat limit.

The same approach applies to child groups if the parent have a subscription.

Screenshots

taken at 7849bbdc, 2020-02-10.

Subscription Grid Confirmation Alert
Screen_Shot_2020-02-10_at_13.58.23 Screen_Shot_2020-02-10_at_13.57.30

To test the changes

Subscription grid

  • Have a group where you have permission to manage its members
  • Navigate to a group's members page
  • Notice the grid at the top of the members' page

Confirmation modal

  • Have a group with a subscription
  • Have a users count equal or above the subscription's seats limit
  • Add a user to the group
  • The modal should appear blocking the user addition without confirmation

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Closes #35683 (closed)

Edited by Ammar Alakkad

Merge request reports