Disable /explore and /explore/groups for unauthenticated users when public groups and projects are not allowed
Description
Add ability to disable /explore and /explore/groups for unauthenticated users when an instance has been configured to not allow public projects or groups.
Links / references
Customer ticket -> https://gitlab.zendesk.com/agent/tickets/94063 (internal)