Skip to content

Commit

Permalink
Update UI for user and group management (#1630)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwowen authored May 29, 2024
1 parent abd5c03 commit 59882de
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
15 changes: 5 additions & 10 deletions deploy-board/deploy_board/templates/users/users_config.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ <h4 class="panel-title pull-left">Manage Users & Tokens</h4>
<i class="glyphicon glyphicon-user"></i> Users
</a>
</div>
{% if pinterest %}
<div class="row">
<a type="button" class="deployToolTip btn btn-default btn-block"
href="/env/{{ env_name }}/get_users_config/?user_types=group_roles"
data-toggle="tooltip" title="Manage LDAP group permissions">
<i class="glyphicon glyphicon-tag"></i> LDAP Groups
</a>
</div>
{% endif %}
<div class="row">
<a type="button" class="deployToolTip btn btn-default btn-block"
href="/env/{{ env_name }}/get_users_config/?user_types=token_roles"
Expand All @@ -48,6 +39,10 @@ <h4 class="panel-title pull-left">Manage Users & Tokens</h4>

{% block main %}
<div id="usersConfigId" class="panel panel-default">
{% 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 %}
</div>
{% endblock %}
14 changes: 14 additions & 0 deletions deploy-board/deploy_board/templates/users/users_moved_message.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="panel-heading clearfix">
<h4 class="panel-title pull-left">
User and group management have moved
</h4>
</div>

<div class="panel-body">
<p>
User and group management have moved to Pastis based ACLs. Please follow the <a href="https://pinch/teletraan-pastis-acl">instructions</a> to manage users and groups.
</p>
<p>
Please update your bookmarks.
</p>
</div>

0 comments on commit 59882de

Please sign in to comment.