Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab
Commits
5727c333
Commit
5727c333
authored
4 years ago
by
Ben Bodenmiller
Browse files
Options
Downloads
Patches
Plain Diff
Typo fix
parent
4b05de15
No related branches found
No related tags found
1 merge request
!40925
Fix a typo in an background migration inline comment
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/gitlab/background_migration/fix_pages_access_level.rb
+2
-2
2 additions, 2 deletions
lib/gitlab/background_migration/fix_pages_access_level.rb
with
2 additions
and
2 deletions
lib/gitlab/background_migration/fix_pages_access_level.rb
+
2
−
2
View file @
5727c333
...
...
@@ -103,8 +103,8 @@ def make_internal_projects_public(start_id, stop_id)
end
# Private projects are not allowed to have enabled access level, only `private` and `public`
# If access control is enabled, these projects currently behave as if the have `private` pages_access_level
# if access control is disabled, these projects currently behave as if the have `public` pages_access_level
# If access control is enabled, these projects currently behave as if the
y
have `private` pages_access_level
# if access control is disabled, these projects currently behave as if the
y
have `public` pages_access_level
# so we preserve this behaviour for projects with pages already deployed
# for project without pages we always set `private` access_level
def
fix_private_access_level
(
start_id
,
stop_id
)
...
...
This diff is collapsed.
Click to expand it.
🤖 GitLab Bot 🤖
@gitlab-bot
mentioned in merge request
!40752 (merged)
·
4 years ago
mentioned in merge request
!40752 (merged)
mentioned in merge request !40752
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment