Skip to content
Snippets Groups Projects

Make GitLab pages support access control

Merged Tuomo Ala-Vannesluoma requested to merge tuomoa/gitlab-foss:auth into master
All threads resolved!
Compare and Show latest version
3 files
+ 5
4
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -32,7 +32,7 @@ def execute
system_hook_service.execute_hooks_for(project, :update)
end
update_pages_config if changing_pages_related_config? && !disabling_pages?
update_pages_config if changing_pages_related_config_and_not_disabling?
success
else
@@ -44,6 +44,10 @@ def changing_pages_related_config?
changing_pages_https_only? || changing_pages_access_level?
end
def changing_pages_related_config_and_not_disabling?
changing_pages_related_config? && !disabling_pages?
end
def run_auto_devops_pipeline?
return false if project.repository.gitlab_ci_yml || !project.auto_devops&.previous_changes&.include?('enabled')
Loading