{% extends "auth/base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block page_content %}
{% if "manage_user" in request.path %} {% endif %}
{{ form.csrf_token }}
User Account Information
Username and Password

Update your password here. Only a dashboard administrator can change your userrname.

Username: {{ user.username }}
{{ wtf.form_field(form.password, class='form-control', placeholder='Password') }}
{{ wtf.form_field(form.password2, class='form-control', placeholder='Confirm Password') }}
{% for error in form.password.errors %}
{{ error }}
{% endfor %}
User Permissions
User Groups and Roles

This section lists your roles and groups. Roles and groups can only be changed by dashboard administrators in the appropriate place for the project.

Your Roles:
    {% if user.roles|length > 0 %} {% for role in user.roles %}
  • {{ role.name }}
  • {% endfor %} {% else %} You have no roles. {% endif %}
Your Groups:
    {% if user.groups|length > 0 %} {% for group in user.groups %}
  • {{ group.name }}
  • {% endfor %} {% else %} You have no roles. {% endif %}
Special User Permissions

This section shows projects that you have special access too. Your access to these projects can only be changed by project managers or dashboard administrators.

{% if projects|length > 0 %} {% for group in projects %} {% for project in projects %} {% for permission in ["read", "update", "create", "delete", "manage"] %} {% endfor %} {% endfor %}
Project Name read update create delete manage
{{ project["name"] }} {{ form["specialproject_"+project["id"]|string+"_"+permission] }}
{% endfor %} {% else %} You have no special project permissions. {% endif %}
User Information
Contact Information for the User

This contact information is not used by the SEAMM dashboard, but exists so that dashboard administrators can contact you if necessary.

{% for error in form.first_name.errors %}
{{ error }}
{% endfor %} {{ wtf.form_field(form.first_name, class='form-control', placeholder='First Name') }}
{% for error in form.last_name.errors %}
{{ error }}
{% endfor %} {{ wtf.form_field(form.last_name, class='form-control', placeholder='Last Name') }}
{% for error in form.email.errors %}
{{ error }}
{% endfor %} {{ wtf.form_field(form.email, class='form-control', placeholder='Email Address') }}
{{ wtf.form_field(form.submit, class="btn btn-primary form-control") }}
{% endblock %} {% block scripts %} {% endblock %}