Active Project General Settings gets error "An error occurred fetching the approval rules"
Summary
Active Project gets error "An error occurred fetching the approval rules".
Steps to reproduce
Go to https://gitlab.com/BackStopThemes/GeneralIssuesForum/edit with owner / administrator rights and select General Settings menu.
NOTE: Error does not appear on other project settings menu items other than General Settings.
NOTE: If I enable visibility of the repository then the error message disappears. If I then disable the visibility of the repository the error message re-appears.
May or may not be related to #60244 (moved) other than having the error message in common.
Example Project
https://gitlab.com/BackStopThemes/GeneralIssuesForum/edit
What is the current bug behavior?
Active Project gets error "An error occurred fetching the approval rules" when the Project admin General Settings menu tab is selected AND the repository visibility is set to NOT VISIBLE.
What is the expected correct behavior?
No error.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
N/A
Results of GitLab application Check
N/A
Possible fixes
None Suggested.