- Add a new user to a new site (Site 2)
- Grant the user administrator permissions in the site (User config > Roles > Site Roles > Administrator)
- Add a new content repository
- Connect the new content repository to Site 2
- Log in as new admin
- Navigate to Site 2
The user can access the content repository.
Because site administrators cannot access the Control Panel, they cannot access the content repository.
See attached video for reproduction steps.
If users were given Regular administrator roles (User config > Roles > Regular Roles > Administrator), only then can they access the Control Panel in Site 2 to view the content repository. However, not all site administrators will have this super user role.
The fix could be to move Repositories out of the Control Panel into a panel under Sites, but that may not make sense from a hierarchical standpoint.
Tomcat 9.0.17 + MySQL 5.7.
Portal master 87ddb7a080cf78839171279da79914beca511050