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
Léo-Paul Géneau
gitlab-ce
Commits
e1607ec4
Commit
e1607ec4
authored
Nov 04, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
a9661c8d
186e8ad9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
.travis.yml
.travis.yml
+10
-3
CHANGELOG
CHANGELOG
+1
-0
app/controllers/groups_controller.rb
app/controllers/groups_controller.rb
+1
-1
lib/gitlab/ldap/user.rb
lib/gitlab/ldap/user.rb
+1
-1
No files found.
.travis.yml
View file @
e1607ec4
language
:
ruby
language
:
ruby
env
:
env
:
-
DB=mysql TRAVIS=true
global
:
-
DB=mysql
-
TRAVIS=true
matrix
:
-
TASK=spinach
-
TASK=spec
-
TASK=jasmine:ci
before_install
:
before_install
:
-
sudo apt-get install libicu-dev -y
-
sudo apt-get install libicu-dev -y
-
gem install charlock_holmes -v="0.6.9"
-
gem install charlock_holmes -v="0.6.9"
...
@@ -11,8 +17,9 @@ rvm:
...
@@ -11,8 +17,9 @@ rvm:
-
2.0.0
-
2.0.0
services
:
services
:
-
mysql
-
mysql
-
postgresql
before_script
:
before_script
:
-
"
cp
config/database.yml.$DB
config/database.yml"
-
"
cp
config/database.yml.$DB
config/database.yml"
-
"
cp
config/gitlab.yml.example
config/gitlab.yml"
-
"
cp
config/gitlab.yml.example
config/gitlab.yml"
script
:
"
bundle
exec
rake
gitlab:test
--trace"
-
"
bundle
exec
rake
db:setup"
-
"
bundle
exec
rake
db:seed_fu"
script
:
"
bundle
exec
rake
$TASK
--trace"
CHANGELOG
View file @
e1607ec4
...
@@ -6,6 +6,7 @@ v 6.3.0
...
@@ -6,6 +6,7 @@ v 6.3.0
- Show branches list (which branches contains commit) on commit page (Andrew Kumanyaev)
- Show branches list (which branches contains commit) on commit page (Andrew Kumanyaev)
- Security improvements
- Security improvements
- Added support for GitLab CI 4.0
- Added support for GitLab CI 4.0
- Fixed issue with 500 error when group did not exist
v 6.2.0
v 6.2.0
- Public project pages are now visible to everyone (files, issues, wik, etc.)
- Public project pages are now visible to everyone (files, issues, wik, etc.)
...
...
app/controllers/groups_controller.rb
View file @
e1607ec4
...
@@ -102,7 +102,7 @@ class GroupsController < ApplicationController
...
@@ -102,7 +102,7 @@ class GroupsController < ApplicationController
# Dont allow unauthorized access to group
# Dont allow unauthorized access to group
def
authorize_read_group!
def
authorize_read_group!
unless
projects
.
present?
or
can?
(
current_user
,
:read_group
,
@group
)
unless
@group
and
(
projects
.
present?
or
can?
(
current_user
,
:read_group
,
@group
)
)
return
render_404
return
render_404
end
end
end
end
...
...
lib/gitlab/ldap/user.rb
View file @
e1607ec4
...
@@ -78,7 +78,7 @@ module Gitlab
...
@@ -78,7 +78,7 @@ module Gitlab
# * when ldap account was deactivated by change of OU membership in 'dn'
# * when ldap account was deactivated by change of OU membership in 'dn'
def
blocked?
(
dn
)
def
blocked?
(
dn
)
ldap
=
OmniAuth
::
LDAP
::
Adaptor
.
new
(
ldap_conf
)
ldap
=
OmniAuth
::
LDAP
::
Adaptor
.
new
(
ldap_conf
)
ldap
.
connection
.
search
(
base:
dn
,
size:
1
).
blank?
ldap
.
connection
.
search
(
base:
dn
,
s
cope:
Net
::
LDAP
::
SearchScope_BaseObject
,
s
ize:
1
).
blank?
end
end
private
private
...
...
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