{% extends "base.html" %} {% block title %}Manage Subusers{% endblock %} {% block servername %} {% endblock %} {% block sidebar %}
{{ lang.sidebar_acc_actions }} {{ lang.sidebar_settings }} TOTP {{ lang.sidebar_settings }} {{ lang.sidebar_servers }}
{{ lang.sidebar_server_acc }} {{ lang.sidebar_overview }} {% if permission.files.view == true %}{{ lang.sidebar_files }}{% endif %} {% if permission.users.view == true %}Manage Subusers{% endif %} {% if permission.manage.view == true %}{{ lang.sidebar_manage }}{% endif %}
{% endblock %} {% block content %}
{% if allow_subusers == 1 %}

{% if get.success %}
You have successfully added a new subuser. They will need to confirm this before they have access to their account. Mistake? Simply click "revoke" next to their name below.
{% endif %} {% if get.revoked %}
You have revoked permission for the selected account.
{% endif %} {% if get.error %}
Wowza! Thats an error, you seem to have done something that isn't allowed.
{% endif %}
{% for email, info in users %}

{{ email }} {% if info.status == "pending" %}(Pending | Revoke){% endif %}

Permission Nodes: {% for id, perms in info.permissions %} {{ perms }}{% if loop.last != true %},{% endif %} {% endfor %}

{% endfor %}
{% else %}
This function has not been enabled by your host.
{% endif %}
{% endblock %}