Add page to archive user

Users can only be archived by Platform Admin from the user page
(/users/<user_id>). This removes them from all services and orgs and
updates their details.
This commit is contained in:
Katie Smith
2019-05-22 11:38:47 +01:00
parent 7b3d522070
commit 00bb7a0ea0
6 changed files with 58 additions and 1 deletions

View File

@@ -38,6 +38,11 @@
{{ user.failed_login_count }} failed login attempts
</p>
{% endif %}
<span class="page-footer-delete-link page-footer-delete-link-without-button">
<a href="{{ url_for('main.archive_user', user_id=user.id) }}">
Archive user
</a>
</span>
</div>
</div>
{% endblock %}