Skip to content

Check Users ID in namespace while deciding paid seat

What does this MR do?

A users is using a paid seat is defined in a Group by the highest permission the user has within the Group and not globally.

For EX:- For 2 parent Groups present in Gitlab.com Group A and Group B If a user U is a Guest in a gold plan Group A and a developer in Group B the user U is shown with a badge "Is using seat" in Group A even though he is not using the seat.

This MR checks whether the user is being billed as a paid user or not by checking the user_ids the namespace is counting it be billed.

This data comes from this MR !22967 (merged) which adds a lot of checks to get the correct count of users id to be counted

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #207091 (closed)

Edited by Shreyas Agarwal

Merge request reports