Skip to content

Hide per-user group creation flag if global one is disabled

What does this MR do and why?

Hides the per-user Can create top level group checkbox in the case when allow_project_creation_for_guest_and_below is disabled.

Dependent on Add control to limit guests and below to create... (!134630 - merged).

Resolves to #432782 (closed)

Screenshots or screen recordings

Allow users with up to Guest role to create groups and personal projects (Global) Guest Developer
[ ] image image
image image

How to set up and validate locally

Open global instance settings, and in the Account and limit section manipulate "Allow users with up to Guest role to create groups and personal projects" value.

Then upon visiting User settings page (http://localhost:3000/admin/users/horacio/edit) — you'll either see or not "Can create top level group" checkbox, depending on that global flag and user's role.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kos Palchyk

Merge request reports