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
0
Merge Requests
0
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
iv
gitlab-ce
Commits
e80c79e3
Commit
e80c79e3
authored
Feb 03, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build errors
parent
8670411a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
app/models/ability.rb
app/models/ability.rb
+3
-3
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+5
-1
No files found.
app/models/ability.rb
View file @
e80c79e3
...
...
@@ -57,7 +57,7 @@ class Ability
]
if
project
.
allow_guest_to_access_builds?
rules
+=
:read_build
rules
<<
:read_build
end
rules
-
project_disabled_features_rules
(
project
)
...
...
@@ -115,7 +115,7 @@ class Ability
rules
.
push
(
*
project_guest_rules
)
if
project
.
allow_guest_to_access_builds?
rules
+=
:read_build
rules
<<
:read_build
end
end
...
...
@@ -123,7 +123,7 @@ class Ability
rules
.
push
(
*
public_project_rules
)
if
project
.
allow_guest_to_access_builds?
rules
+=
:read_build
rules
<<
:read_build
end
end
...
...
app/views/projects/edit.html.haml
View file @
e80c79e3
...
...
@@ -130,6 +130,7 @@
%strong
git fetch
%br
%span
.descr
Faster
.form-group
=
f
.
label
:build_timeout_in_minutes
,
'Timeout'
,
class:
'control-label'
.col-sm-10
...
...
@@ -157,12 +158,15 @@
%li
phpunit --coverage-text --colors=never (PHP) -
%code
^\s*Lines:\s*\d+.\d+\%
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
=
f
.
label
:allow_guest_to_access_builds
do
=
f
.
check_box
:allow_guest_to_access_builds
Allow guest to access builds (including build logs and artifacts)
%strong
Guests can see builds
.help-block
Allow guests and anonymous users to access builds including build trace and artifacts
%fieldset
.features
%legend
Advanced settings
...
...
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