PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/templates/history/permissions.mako

https://bitbucket.org/cistrome/cistrome-harvard/
Mako | 8 lines | 7 code | 1 blank | 0 comment | 3 complexity | f8b1dd7afe60f4c21e0b51d006a03019 MD5 | raw file
1<%inherit file="/base.mako"/>
2<%def name="title()">Change Default Permissions on New Datasets in This History</%def>
3<%namespace file="/dataset/security_common.mako" import="render_permission_form" />
4
5%if trans.user:
6    <% history = trans.get_history() %>
7    ${render_permission_form( history, history.name, h.url_for(), trans.user.all_roles() )}
8%endif