Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c0faec2f
Commit
c0faec2f
authored
Sep 01, 2020
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-232' into 'master'
Typo fix See merge request gitlab-org/gitlab!40925
parents
fc618d94
5727c333
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/background_migration/fix_pages_access_level.rb
lib/gitlab/background_migration/fix_pages_access_level.rb
+2
-2
No files found.
lib/gitlab/background_migration/fix_pages_access_level.rb
View file @
c0faec2f
...
@@ -103,8 +103,8 @@ module Gitlab
...
@@ -103,8 +103,8 @@ module Gitlab
end
end
# Private projects are not allowed to have enabled access level, only `private` and `public`
# 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 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 have `public` 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
# so we preserve this behaviour for projects with pages already deployed
# for project without pages we always set `private` access_level
# for project without pages we always set `private` access_level
def
fix_private_access_level
(
start_id
,
stop_id
)
def
fix_private_access_level
(
start_id
,
stop_id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment