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
336b7b87
Commit
336b7b87
authored
Oct 01, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable ldap user showing only if group is synced with LDAP group.
parent
44b94f7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-1
app/views/groups/_new_group_member.html.haml
app/views/groups/_new_group_member.html.haml
+1
-1
app/views/projects/team_members/_form.html.haml
app/views/projects/team_members/_form.html.haml
+1
-1
No files found.
app/views/admin/groups/show.html.haml
View file @
336b7b87
...
...
@@ -87,7 +87,7 @@
=
form_tag
project_teams_update_admin_group_path
(
@group
),
id:
"new_team_member"
,
class:
"bulk_import"
,
method: :put
do
%div
=
users_select_tag
(
:user_ids
,
{
multiple:
true
,
skip_ldap:
true
})
=
users_select_tag
(
:user_ids
,
{
multiple:
true
,
skip_ldap:
@group
.
ldap_cn
.
present?
})
%div
.prepend-top-10
=
select_tag
:group_access
,
options_for_select
(
UsersGroup
.
group_access_roles
),
class:
"project-access-select select2"
%hr
...
...
app/views/groups/_new_group_member.html.haml
View file @
336b7b87
=
form_for
@users_group
,
url:
group_users_groups_path
(
@group
),
html:
{
class:
'form-horizontal users-group-form'
}
do
|
f
|
.form-group
=
f
.
label
:user_ids
,
"People"
,
class:
'control-label'
.col-sm-10
=
users_select_tag
(
:user_ids
,
{
multiple:
true
,
skip_ldap:
true
,
class:
'input-large'
})
.col-sm-10
=
users_select_tag
(
:user_ids
,
{
multiple:
true
,
skip_ldap:
@group
.
ldap_cn
.
present?
,
class:
'input-large'
})
.form-group
=
f
.
label
:group_access
,
"Group Access"
,
class:
'control-label'
...
...
app/views/projects/team_members/_form.html.haml
View file @
336b7b87
...
...
@@ -12,7 +12,7 @@
.form-group
=
f
.
label
:user_ids
,
"People"
,
class:
'control-label'
.col-sm-10
=
users_select_tag
(
:user_ids
,
{
multiple:
true
,
skip_ldap:
true
})
=
users_select_tag
(
:user_ids
,
{
multiple:
true
,
skip_ldap:
@project
.
group
.
ldap_cn
.
present?
})
%p
2. Set access level for them
.form-group
...
...
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