%namespace name="base" file="/base/base.mako"/>
${_('None')} | ${_('Read')} | ${_('Write')} | ${_('Admin')} | ${_('User/User Group')} | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
${h.radio('admin_perm_%s' % _user.user_id,'repository.none', disabled="disabled")} | ${h.radio('admin_perm_%s' % _user.user_id,'repository.read', disabled="disabled")} | ${h.radio('admin_perm_%s' % _user.user_id,'repository.write', disabled="disabled")} | ${h.radio('admin_perm_%s' % _user.user_id,'repository.admin', 'repository.admin', disabled="disabled")} | ${base.gravatar(_user.email, 16, user=_user, tooltip=True)} ${h.link_to_user(_user.username)} %if getattr(_user, 'admin_row', None): (${_('super-admin')}) %endif %if getattr(_user, 'owner_row', None): (${_('owner')}) %endif | % if c.rhodecode_user.is_admin: | % endif||||||||
${h.radio('u_perm_%s' % _user.user_id,'group.none', checked=_user.permission=='group.none')} | ${h.radio('u_perm_%s' % _user.user_id,'group.read', checked=_user.permission=='group.read')} | ${h.radio('u_perm_%s' % _user.user_id,'group.write', checked=_user.permission=='group.write')} | ${h.radio('u_perm_%s' % _user.user_id,'group.admin', checked=_user.permission=='group.admin')} | ${base.gravatar(_user.email, 16, user=_user, tooltip=True)} % if _user.username == h.DEFAULT_USER: ${h.DEFAULT_USER} % if _user.active: - ${_('permission for other logged in and anonymous users')} % else: - ${_('permission for other logged in users')} % endif % else: % if getattr(_user, 'duplicate_perm', None): ${h.link_to_user(_user.username)} (${_('inactive duplicate')}) % else: ${h.link_to_user(_user.username)} % endif % endif | %if _user.username != h.DEFAULT_USER: ${_('Remove')} %endif | % if c.rhodecode_user.is_admin: | %else: ## special case for currently logged-in user permissions, we make sure he cannot take his own permissions % endif${h.radio('u_perm_%s' % _user.user_id,'group.none', disabled="disabled")} | ${h.radio('u_perm_%s' % _user.user_id,'group.read', disabled="disabled")} | ${h.radio('u_perm_%s' % _user.user_id,'group.write', disabled="disabled")} | ${h.radio('u_perm_%s' % _user.user_id,'group.admin', disabled="disabled")} | ${base.gravatar(_user.email, 16, user=_user, tooltip=True)} % if _user.username == h.DEFAULT_USER: ${h.DEFAULT_USER} % if _user.active: - ${_('permission for other logged in and anonymous users')} % else: - ${_('permission for other logged in users')} % endif % else: % if getattr(_user, 'duplicate_perm', None): ${h.link_to_user(_user.username)} (${_('inactive duplicate')}) % else: ${h.link_to_user(_user.username)} % endif % endif (${_('delegated admin')}) | % if c.rhodecode_user.is_admin: | %endif % endif|
${h.radio('g_perm_%s' % _user_group.users_group_id,'group.none', checked=_user_group.permission=='group.none')} | ${h.radio('g_perm_%s' % _user_group.users_group_id,'group.read', checked=_user_group.permission=='group.read')} | ${h.radio('g_perm_%s' % _user_group.users_group_id,'group.write', checked=_user_group.permission=='group.write')} | ${h.radio('g_perm_%s' % _user_group.users_group_id,'group.admin', checked=_user_group.permission=='group.admin')} | ${base.user_group_icon(_user_group, tooltip=True)} %if c.is_super_admin: ${_user_group.users_group_name} %else: ${h.link_to_group(_user_group.users_group_name)} %endif (${_('members')}: ${len(_user_group.members)}) | ${_('Remove')} | % if c.rhodecode_user.is_admin: | % endif|||||||
${_('Add user/user group')} |