Skip to content

View changes for disable_invite_members settings for group

What does this MR do and why?

Solves #19618 (closed)

We have introduced view changes for additional namespace setting as finalized in MR - !189826 (diffs).

Screenshots or screen recordings

New Group Setting

Screenshot_2025-05-08_at_3.26.48_PM

Message On Group member page when setting to disable invite members is ON

Screenshot_2025-05-08_at_3.12.53_PM

Message on Project member page when setting disable invite members is OFF

Screenshot_2025-05-08_at_3.15.09_PM

How to set up and validate locally

  1. Make sure you are on SAAS version of app https://docs.gitlab.com/development/ee_features/#simulate-a-saas-instance
  2. Enable the setting on Group setting page - https://<gdk_url>/groups/<group_name>/-/edit#js-permissions-settings
  3. Observe on Group members page, you see a message you are not allowed to invite members instead of Invite members and Invite a group button
  4. Observe on Project members page, you see a message you are not allowed to invite members instead of Invite members and Invite a group button
  5. Make sure the buttons reappear as you disable the setting

MR acceptance checklist

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

Edited by Smriti Garg

Merge request reports

Loading