##// END OF EJS Templates
ldap auth rewrite, moved split authfunc into two functions,...
ldap auth rewrite, moved split authfunc into two functions, made ldap case insensitive for uids added some extra debug messages for ldap, and auth function added some docs for utils

File last commit:

r708:b9bbc0d6 beta
r761:56c2850a beta
Show More
permissions.html
125 lines | 4.5 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
#38 updated RhodeCode titles
r619 ${_('Permissions administration')} - ${c.rhodecode_name}
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
&raquo;
${_('Permissions')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<h3>${_('Default permissions')}</h3>
${h.form(url('permission', id='default'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
#49 Enabled anonymous access for web interface controllable from permissions pannel
r673 <div class="field">
<div class="label label-checkbox">
<label for="anonymous">${_('Anonymous access')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('anonymous',True)}
</div>
</div>
</div>
renamed project to rhodecode
r547 <div class="field">
templates for ldap settings
r706 <div class="label label-select">
renamed project to rhodecode
r547 <label for="default_perm">${_('Repository permission')}:</label>
</div>
<div class="select">
${h.select('default_perm','',c.perms_choices)}
${h.checkbox('overwrite_default','true')}
<label for="overwrite_default">
<span class="tooltip"
tooltip_title="${h.tooltip(_('All default permissions on each repository will be reset to choosen permission, note that all custom default permission on repositories will be lost'))}">
${_('overwrite existing settings')}</span> </label>
</div>
</div>
<div class="field">
<div class="label">
<label for="default_register">${_('Registration')}:</label>
</div>
<div class="select">
${h.select('default_register','',c.register_choices)}
</div>
</div>
<div class="field">
<div class="label">
<label for="default_create">${_('Repository creation')}:</label>
</div>
<div class="select">
${h.select('default_create','',c.create_choices)}
</div>
</div>
<div class="buttons">
${h.submit('set','set',class_="ui-button ui-widget ui-state-default ui-corner-all")}
</div>
</div>
</div>
${h.end_form()}
templates for ldap settings
r706 ##LDAP
<h3>${_('LDAP settings')}</h3>
${h.form(url('permissions_ldap',id_iser='default'),method='put')}
<div class="form">
<div class="fields">
<div class="field">
<div class="label label-checkbox"><label for="ldap_active">${_('Enable ldap')}</label></div>
<div class="checkboxes"><div class="checkbox">${h.checkbox('ldap_active',True,class_='small')}</div></div>
</div>
<div class="field">
<div class="label"><label for="ldap_host">${_('Host')}</label></div>
<div class="input">${h.text('ldap_host',class_='small')}</div>
</div>
<div class="field">
<div class="label"><label for="ldap_port">${_('Port')}</label></div>
<div class="input">${h.text('ldap_port',class_='small')}</div>
</div>
<div class="field">
added cache reset, stats reset, and delete into repository settings in admin....
r708 <div class="label label-checkbox"><label for="ldap_ldaps">${_('Enable LDAPS')}</label></div>
templates for ldap settings
r706 <div class="checkboxes"><div class="checkbox">${h.checkbox('ldap_ldaps',True,class_='small')}</div></div>
</div>
<div class="field">
<div class="label"><label for="ldap_dn_user">${_('Account')}</label></div>
<div class="input">${h.text('ldap_dn_user',class_='small')}</div>
</div>
<div class="field">
<div class="label"><label for="ldap_dn_pass">${_('Password')}</label></div>
<div class="input">${h.password('ldap_dn_pass',class_='small')}</div>
</div>
<div class="field">
<div class="label"><label for="ldap_base_dn">${_('Base DN')}</label></div>
<div class="input">${h.text('ldap_base_dn',class_='small')}</div>
</div>
<div class="buttons">
${h.submit('save','Save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
</div>
</div>
</div>
${h.end_form()}
renamed project to rhodecode
r547 </div>
</%def>
templates for ldap settings
r706