Visibility Pages dropdown menu disabled

Problem to solve

I cannot enable the GitLab pages for everyone.
The dropdown menu is disabled.

Steps to reproduce

  1. I’ve created a new repo.
  2. I’ve set the visibility option to public.

  1. I’ve added a simple .gitlab-ci.yml
pages:
  stage: deploy
  image: python:3.11

  cache:
    paths:
      - venv/

  before_script:
    - if [ ! -d "venv" ]; then python -m venv venv; fi
    - source venv/bin/activate
    - pip install --upgrade pip
    - pip install mkdocs-material==9.5.39

  script:
    - mkdocs build --site-dir public

  artifacts:
    paths:
      - public

  rules:
    - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"

and the pipeline runs flawlessly.

  1. Use these options for Pages

Then I tried to follow the suggestion:

To make your website publicly available, navigate to your project’s Settings > General > Visibility and select Everyone in the pages section.

  1. But I’m not able to select “Everyone” (or Everyone with Access like every other field).

I’ve followed the links " Read the documentation" and " Learn more" in the above screenshot (both redirecting to pages_access_control) but I was not able to resolve the issue.

Configuration

In gitlab.rb I’ve these values for gitlab_pages:

gitlab_pages['enable'] = true
gitlab_pages['access_control'] = true

I cannot disable “access_control” because there are other repos with pages that I wish to keep private.

Versions

Please add an x whether options apply, and add the version information.