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
a3cd7259
Commit
a3cd7259
authored
Mar 30, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
20dd56b9
afbc8274
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app/uploaders/object_storage.rb
app/uploaders/object_storage.rb
+5
-1
spec/uploaders/object_storage_spec.rb
spec/uploaders/object_storage_spec.rb
+1
-1
No files found.
app/uploaders/object_storage.rb
View file @
a3cd7259
...
...
@@ -280,8 +280,12 @@ module ObjectStorage
self
.
class
.
object_store_credentials
end
# Set ACL of uploaded objects to not-public (fog-aws)[1] or no ACL at all
# (fog-google). Value is ignored by other supported backends (fog-aliyun,
# fog-openstack, fog-rackspace)
# [1]: https://github.com/fog/fog-aws/blob/daa50bb3717a462baf4d04d0e0cbfc18baacb541/lib/fog/aws/models/storage/file.rb#L152-L159
def
fog_public
false
nil
end
def
delete_migrated_file
(
migrated_file
)
...
...
spec/uploaders/object_storage_spec.rb
View file @
a3cd7259
...
...
@@ -375,7 +375,7 @@ describe ObjectStorage do
describe
'#fog_public'
do
subject
{
uploader
.
fog_public
}
it
{
is_expected
.
to
eq
(
false
)
}
it
{
is_expected
.
to
eq
(
nil
)
}
end
describe
'.workhorse_authorize'
do
...
...
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