##// END OF EJS Templates
fix(permissions): added a common way to update private flag via repo model...
fix(permissions): added a common way to update private flag via repo model - this allows to have a one and only one way to control the flag with the business logic shared - added test for that - changed view to use this method instead of DB update and custom permissions flush - fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed

File last commit:

r2105:4ad1a937 default
r5551:5b9b5ed2 default
Show More
permissions_global.mako
10 lines | 370 B | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282
forms: unified usage of h.secure_form. Make sure we ALWAYS pass in...
r2105 ${h.secure_form(h.route_path('admin_permissions_global_update'), request=request)}
templating: use .mako as extensions for template files.
r1282 <div class="form permissions-global">
<!-- fields -->
<div class="fields">
<%namespace name="dpb" file="/base/default_perms_box.mako"/>
${dpb.default_perms_radios(global_permissions_template = True)}
</div>
</div>
${h.end_form()}