{% extends 'sb_sync/base.html' %} {% load sb_sync_extras %} {% block title %}Permission Matrix - SB Sync Configuration{% endblock %} {% block page_title %}Permission Matrix{% endblock %} {% block page_actions %}
{% endblock %} {% block content %}
Organization
{{ organization.name }} {{ organization.slug }}
Model Permissions Matrix
Use column header checkboxes to select/deselect all permissions for that group
{% for group in groups %} {% endfor %} {% for model in models %} {% for group in groups %} {% endfor %} {% endfor %}
Model / Group
{{ group.user_set.count }} users
{{ model }}
{{ model.split.0 }}
{% for perm_type, perm_label in permission_types %}
{% endfor %}
Permission Types
{% for perm_type, perm_label in permission_types %}
{{ perm_label }}
{% if perm_type == 'can_push' %} Allow pushing data to this model {% elif perm_type == 'can_pull' %} Allow pulling data from this model {% endif %}
{% endfor %}
{% endblock %} {% block extra_js %} {% endblock %}