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
ab657be2
Commit
ab657be2
authored
Sep 27, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/feature/ldap-group-filter' into feature/ldap-group-filter
parents
1adcbbb4
2b6b6ee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
17 deletions
+14
-17
app/views/ldap_group_links/_form.html.haml
app/views/ldap_group_links/_form.html.haml
+14
-17
No files found.
app/views/ldap_group_links/_form.html.haml
View file @
ab657be2
...
...
@@ -3,30 +3,27 @@
%section
.ldap-group-links
=
form_for
[
group
,
LdapGroupLink
.
new
],
html:
{
class:
'form-horizontal'
}
do
|
f
|
.form-holder
.form-group.
clearfix
=
f
.
label
:cn
,
class:
'control-label'
do
.form-group.
row
=
f
.
label
:cn
,
class:
'control-label
col-sm-2
'
do
LDAP Server
.col-sm-10
=
f
.
select
:provider
,
ldap_server_select_options
,
{},
class:
'form-control'
.form-group.
clearfix
=
f
.
label
:cn
,
class:
'control-label'
do
.form-group.
row
=
f
.
label
:cn
,
class:
'control-label
col-sm-2
'
do
Sync method
.col-sm-2
.col-sm-10
.radio
=
label_tag
:
ldap
_group
do
=
label_tag
:
sync_method
_group
do
=
radio_button_tag
:sync_method
,
:group
,
true
.option-title
LDAP Group cn
LDAP Group cn
.radio
=
label_tag
:
ldap
_filter
do
=
label_tag
:
sync_method
_filter
do
=
radio_button_tag
:sync_method
,
:filter
.option-title
LDAP user filter
LDAP user filter
.form-group.
clearfix
.cn-link
=
f
.
label
:cn
,
class:
'control-label'
do
.form-group.
row
.cn-link
=
f
.
label
:cn
,
class:
'control-label
col-sm-2
'
do
LDAP Group cn
.col-sm-10
=
f
.
hidden_field
:cn
,
placeholder:
'Ex. QA group'
,
class:
'xxlarge ajax-ldap-groups-select input-mn-300'
...
...
@@ -35,8 +32,8 @@
%br
If you select an LDAP group you do not belong to you will lose ownership of
#{
group
.
name
}
.
.form-group.
clearfix
.filter-link
=
f
.
label
:filter
,
class:
'control-label'
do
.form-group.
row
.filter-link
=
f
.
label
:filter
,
class:
'control-label
col-sm-2
'
do
LDAP User filter
.col-sm-10
=
f
.
text_field
:filter
,
placeholder:
'Ex. (&(objectCategory=person)(objectClass=developer))'
,
class:
'form-control xxlarge input-mn-300'
...
...
@@ -46,8 +43,8 @@
%br
If you do not belong to this LDAP user filter you will lose ownership of
#{
group
.
name
}
.
.form-group.
clearfix
=
f
.
label
:group_access
,
class:
'control-label'
do
.form-group.
row
=
f
.
label
:group_access
,
class:
'control-label
col-sm-2
'
do
LDAP Access
.col-sm-10
=
f
.
select
:group_access
,
options_for_select
(
GroupMember
.
access_level_roles
),
{},
class:
'form-control'
...
...
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