## USERS %for r2p in c.repos_group.repo_group_to_perm: %endfor ## USERS GROUPS %for g2p in c.repos_group.users_group_to_perm: %endfor <% _tmpl = h.literal("""' \ \ \ \ \ \ '""") %> ## ADD HERE DYNAMICALLY NEW INPUTS FROM THE '_tmpl'
${_('none')} ${_('read')} ${_('write')} ${_('admin')} ${_('member')}
${h.radio('u_perm_%s' % r2p.user.username,'group.none')} ${h.radio('u_perm_%s' % r2p.user.username,'group.read')} ${h.radio('u_perm_%s' % r2p.user.username,'group.write')} ${h.radio('u_perm_%s' % r2p.user.username,'group.admin')} ${r2p.user.username if r2p.user.username != 'default' else _('default')} %if r2p.user.username !='default': ${_('revoke')} %endif
${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'group.none')} ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'group.read')} ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'group.write')} ${h.radio('g_perm_%s' % g2p.users_group.users_group_name,'group.admin')} ${g2p.users_group.users_group_name} ${_('revoke')}
\
\ \ \
\
\
${_('Add another member')}
${h.checkbox('recursive',value="True", label=_('apply to parents'))} ${_('Set or revoke permission to all children of that group, including repositories and other groups')}