##// END OF EJS Templates
caches: use .refresh() instead of .invalidate()...
caches: use .refresh() instead of .invalidate() - .invalidate() does a delete of cached valued under a key, which means in previous logic we delete, get_or_create, and compute. - .refresh() is simply replacing exising key with newly computed values, this creates less locks, and it's faster.

File last commit:

r2105:4ad1a937 default
r2939:913f92bf default
Show More
permissions_global.mako
10 lines | 370 B | application/x-mako | MakoHtmlLexer
${h.secure_form(h.route_path('admin_permissions_global_update'), request=request)}
<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()}