{# # This file is part of Invenio. # Copyright (C) 2012, 2014 CERN. # # Invenio is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Invenio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Invenio; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. #} {% from "_formhelpers.html" import th with context %} {% from "_formhelpers.html" import render_filter_form with context %} {% extends "page.html" %} {% set title = _("Role Administrator") %} {% set personalize_selected = True %} {% block title %} {% endblock title %} {% block body %}
{{ _('Users') }}:
{{ _('add or remove users from the access to a role and its priviliges.') }}
{{ _('Authorizations') }}/{{ _('Actions') }}:
{{ _('these terms means almost the same, but an authorization is a connection between a role and an action (possibly) containing arguments.') }}
{{ _('Roles') }}:
{{ _('see all the information attached to a role and decide if you want to delete it.') }}
{#
{{ render_filter_form(filter_form, id="filter", class="well form-horizontal") }}
#} {% set filter_args = request.values|invenio_url_args(append='&', filter=['sort_by', 'order']) %} {{ th('id', _("id"), filter_args) }} {{ th('name', _("name"), filter_args) }} {{ th('description', _("authorizations")+'/'+_("roles"), filter_args) }} {{ th('firerole_def_src', _("firewall like role definition"), filter_args) }} {% if not roles %} {% else %} {% for r in roles %} {% endfor %} {% endif %}
{{ _("Users") }} {{ _("Authorizations") }}/{{ _('Actions') }} {{ _("Role") }}
{{ _("No roles") }}
{{ r.name }} {{ r.description }}
{{ r.firerole_def_src }}
{{ _("add") }} / {{ _("delete") }} {{ _("add") }} / {{ _("modify") }} / {{ _("delete") }} {{ _("modify") }} / {{ _("delete") }}
{#
#} {% endblock %}