{% extends "base.html" %} {% from "components/icon.html" import Icon %} {% from "components/modal.html" import Modal %} {% from "components/selector.html" import Selector %} {% from "components/options_input.html" import OptionsInput %} {% from "components/confirmation_button.html" import ConfirmationButton %} {% block content %} {% include "fragments/flash.html" %}
{{ form.csrf_token }}

{{ member.user.full_name }}

{{ Selector(form.workspace_role) }}
DOD ID:
{{ member.user.dod_id }}
Email:
{{ member.user.email }}
{% if editable %} edit account details {% endif %}
{% if member.latest_invitation.is_revokable %} {{ ConfirmationButton( "Revoke Invitation", url_for("workspaces.revoke_invitation", workspace_id=workspace.id, token=member.latest_invitation.token), ) }} {% endif %} {% if member.can_resend_invitation %} {{ ConfirmationButton ( "Resend Invitation", url_for("workspaces.resend_invitation", workspace_id=workspace.id, token=member.latest_invitation.token), confirm_msg="Are you sure? This will send an email to invite the user to join this portfolio." )}} {% endif %} {% if can_revoke_access %} {{ ConfirmationButton ( "Remove Portfolio Access", url_for("workspaces.revoke_access", workspace_id=workspace.id, member_id=member.id), confirm_msg="Are you sure? This will remove this user from the portfolio.", )}} {% endif %}

Manage Access
Grant access to an environment

{% for application in applications %} {% set revoke_modal_name = (application.id|string) + 'RevokeModal' %}
{% endfor %}
{{ Icon('x') }} Cancel
{% endblock %}