Force page_access_level private in saas
What does this MR do and why?
See: https://jihulab.com/gitlab-cn/gitlab/-/issues/1222#note_2246025
Force pages visibility to be private when disable public access
So that user did not belongs to project and anonymous user can not access to jh pages
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- install pages by
gdk install gitlab-pages
- enable pages
- enable access control
- disable public access
- create a page and run
project.project_feature.pages_access_level
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 Yongbo li 编辑于