Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

Upgrading gitlab-ce 17.5.4 -> 17.5.5 on RHEL7 and RHEL8 user "Personal Projects limit" and "Can create top level" group flag removed.

Summary

After upgrading to 17.5.5 from 17.5.4 on RHEL7 and RHEL8(re-tested/verified)
user "Personal Projects limit" and "Can create top level" group flag removed.

Steps to reproduce

"Allow new users to create top-level groups" is not set in
Admin -> Settings-> Account and Limit -> User restrictions
But "Can create top level group" is set for a user. (Admin users in our case)

"Default projects limit" is set to default 25 in
Admin -> Settings-> Account and Limit -> Default projects limit
But Access Projects limit is set to something larger than default.

Upgrade yum package 17.5.4 to 17.5.5
User logs in, and clicks on the "plus" to
add new project, group, or snippet.

What is the current bug behavior?

After upgrading to 17.5.5 users who had project limit greater than default 25,
is reset to 25 when user clicks on the "plus" button to create a new project.
(Confirmed by looking in database.select id,username,projects_limit from users where projects_limit != 25;)
If user has already exceeded limit that new project option is not available in dropdown.

Additionally

If globally "Allow new users to create top-level group" is not set,
and user has "Can create top level group", when user clicks on the "plus" button to
create a new group it is not available.
(Confirmed by looking in database.select id,username,can_create_group from users where can_create_group = 't';)

Note - Dropdown menu options maybe "preserved" in the browser cache, but dissappear on hard browser refresh.

What is the expected correct behavior?

User project limits and permission flags would not be reset.

Relevant logs

Relevant logs

None known at this time.

Details of package version

Provide the package version installation details
RHEL7: gitlab-ce-17.6.3-ce.0.el7.x86_64  
RHEL8: gitlab-ce-17.6.3-ce.0.el8.x86_64

Environment details

  • Operating System: RHEL7 and RHEL8
  • Installation Target:
    • VM: AWS
  • Installation Type:
    • Upgrade from version 17.5.4
  • Is there any other software running on the machine: no
  • Is this a single or multiple node installation? Single
  • Resources
    • InstanceType: c6i.2xlarge

Configuration details

Provide the relevant sections of `/etc/gitlab/gitlab.rb`
None known at this time.
Edited Jan 16, 2025 by Ron Aughenbaugh
Assignee Loading
Time tracking Loading