From c19d2f372c11f44dd686cf90fb1b755f4873aa2a Mon Sep 17 00:00:00 2001 From: Tyler Ouyang Date: Tue, 28 May 2024 16:28:13 -0700 Subject: [PATCH] Update UI for user and group management --- .../templates/users/users_config.html | 15 +++++---------- .../templates/users/users_moved_message.html | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 deploy-board/deploy_board/templates/users/users_moved_message.html diff --git a/deploy-board/deploy_board/templates/users/users_config.html b/deploy-board/deploy_board/templates/users/users_config.html index 780447acab..bc5ea6df6b 100644 --- a/deploy-board/deploy_board/templates/users/users_config.html +++ b/deploy-board/deploy_board/templates/users/users_config.html @@ -22,15 +22,6 @@

Manage Users & Tokens

Users - {% if pinterest %} -
- - LDAP Groups - -
- {% endif %}
Manage Users & Tokens {% block main %}
-{% include "users/users_config.tmpl" %} + {% if pinterest and user_types != 'token_roles' %} + {% include "users/users_moved_message.html" %} + {% else %} + {% include "users/users_config.tmpl" %} + {% endif %}
{% endblock %} diff --git a/deploy-board/deploy_board/templates/users/users_moved_message.html b/deploy-board/deploy_board/templates/users/users_moved_message.html new file mode 100644 index 0000000000..2a7d27ac35 --- /dev/null +++ b/deploy-board/deploy_board/templates/users/users_moved_message.html @@ -0,0 +1,14 @@ +
+

+ User and group management have moved +

+
+ +
+

+ User and group management have moved to Pastis based ACLs. Please follow the instructions to manage users and groups. +

+

+ Please update your bookmarks. +

+
\ No newline at end of file