BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d4be9674
Commit
d4be9674
authored
Sep 17, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 500 when accessing private project when not logged in
parent
0aec0d53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
Gemfile.lock
Gemfile.lock
+0
-3
application_controller.rb
app/controllers/ci/application_controller.rb
+1
-3
No files found.
Gemfile.lock
View file @
d4be9674
...
...
@@ -928,6 +928,3 @@ DEPENDENCIES
webmock (~> 1.21.0)
whenever (~> 0.8.4)
wikicloth (= 0.8.1)
BUNDLED WITH
1.10.6
app/controllers/ci/application_controller.rb
View file @
d4be9674
...
...
@@ -10,9 +10,7 @@ module Ci
def
authenticate_public_page!
unless
project
.
public
unless
current_user
redirect_to
(
new_user_sessions_path
)
and
return
end
authenticate_user!
return
access_denied!
unless
can?
(
current_user
,
:read_project
,
gl_project
)
end
...
...
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