{% if not action or action == 'list' %}

Igor Users

{% set currentUser = igor.app.getSessionItem('user','') %} {% if currentUser %}

You are logged in as {{currentUser}}. {% if currentUser != 'admin' %} You may not have sufficient permissions for the commands below unless you login as user admin. {% endif %}

{% else %}

You are not logged in. This page will probably not render correctly.

{% endif %} {% set userList = igor.database.getElements('/data/identities/*', 'get', token) %} {% for user in userList %} {% if not ':' in user.tagName %} {% set username = user.tagName %} {% endif %} {% endfor %}
Username Identity Entry People Entry Operation
{{username}} identities/{{username}} people/{{username}} {% if username != 'admin' and username != currentUser %} delete
{% endif %} change password

Add User

To add a new user:

Username:
Password:
{% elif action == "delete" %}

Delete User

Are you sure you want to delete user {{username}}? This action cannot be undone.


Return to user listing

{% elif action == "password" %}

Change Password

Are you sure you want to change the password for user {{username}}? This action cannot be undone.


New password:

Return to user listing

{% else %}

Error Unknown action {{action}}

{% endif %}