##// END OF EJS Templates
caches: use individual namespaces per user to prevent beaker caching problems....
caches: use individual namespaces per user to prevent beaker caching problems. - especially for mysql in case large number of data in caches there could be critical errors storing cache, and thus preventing users from authentication. This is caused by the fact that we used single namespace for ALL users. It means it grew as number of users grew reaching mysql single column limit. This changes the behaviour and now we use namespace per-user it means that each user-id will have it's own cache namespace fragmenting maximum column data to a single user cache. Which we should never reach.

File last commit:

r2042:e367c94a default
r2572:5b07455a default
Show More
permissions.mako
62 lines | 2.0 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Permissions Administration')}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="breadcrumbs_links()">
audit-logs: introduced new view to replace admin journal....
r1758 ${h.link_to(_('Admin'),h.route_path('admin_home'))}
templating: use .mako as extensions for template files.
r1282 &raquo;
${_('Permissions')}
</%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='admin')}
</%def>
<%def name="main()">
<div class="box">
<div class="title">
${self.breadcrumbs()}
</div>
<div class="sidebar-col-wrapper scw-small">
##main
<div class="sidebar">
<ul class="nav nav-pills nav-stacked">
<li class="${'active' if c.active=='application' else ''}">
global-permissions: ported controller to pyramid view....
r1941 <a href="${h.route_path('admin_permissions_application')}">${_('Application')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
<li class="${'active' if c.active=='global' else ''}">
global-permissions: ported controller to pyramid view....
r1941 <a href="${h.route_path('admin_permissions_global')}">${_('Global')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
<li class="${'active' if c.active=='objects' else ''}">
global-permissions: ported controller to pyramid view....
r1941 <a href="${h.route_path('admin_permissions_object')}">${_('Object')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
<li class="${'active' if c.active=='ips' else ''}">
global-permissions: ported controller to pyramid view....
r1941 <a href="${h.route_path('admin_permissions_ips')}">${_('IP Whitelist')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
permissions: expose new view that lists all available views for usage in whitelist access.
r1943 <li class="${'active' if c.active=='auth_token_access' else ''}">
<a href="${h.route_path('admin_permissions_auth_token_access')}">${_('AuthToken Access')}</a>
</li>
ssh-keys: added admin panel for managing globally all SSH Keys....
r2042 <li class="${'active' if c.active=='ssh_keys' else ''}">
<a href="${h.route_path('admin_permissions_ssh_keys')}">${_('SSH Keys')}</a>
</li>
templating: use .mako as extensions for template files.
r1282 <li class="${'active' if c.active=='perms' else ''}">
global-permissions: ported controller to pyramid view....
r1941 <a href="${h.route_path('admin_permissions_overview')}">${_('Overview')}</a>
templating: use .mako as extensions for template files.
r1282 </li>
</ul>
</div>
<div class="main-content-full-width">
<%include file="/admin/permissions/permissions_${c.active}.mako"/>
</div>
</div>
</div>
</%def>