Class: Gitlab::BackgroundMigration::FixPagesAccessLevel
- Inherits:
-
Object
- Object
- Gitlab::BackgroundMigration::FixPagesAccessLevel
- Defined in:
- lib/gitlab/background_migration/fix_pages_access_level.rb
Overview
corrects stored pages access level on db depending on project visibility
Defined Under Namespace
Modules: Routable Classes: Namespace, Project, ProjectFeature
Instance Method Summary collapse
Instance Method Details
#perform(start_id, stop_id) ⇒ Object
70 71 72 73 74 75 76 |
# File 'lib/gitlab/background_migration/fix_pages_access_level.rb', line 70 def perform(start_id, stop_id) fix_public_access_level(start_id, stop_id) make_internal_projects_public(start_id, stop_id) fix_private_access_level(start_id, stop_id) end |