seperated admin and regular users from ui

This commit is contained in:
Beverly Nguyen
2025-08-19 13:00:43 -07:00
parent ca235f12fd
commit b1b63c7d5e
2 changed files with 14 additions and 3 deletions

View File

@@ -27,6 +27,14 @@
}) }}
{% if current_user.has_permissions(ServicePermission.MANAGE_SERVICE) and form.users_with_permission.all_service_users %}
{{ form.users_with_permission }}
{% if form.platform_admins is defined and form.platform_admins %}
<p class="usa-hint">Platform administrators can see all folders and cannot be removed from folders:</p>
<ul class="usa-hint usa-list">
{% for admin in form.platform_admins %}
<li>{{ admin.name }}</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
{{ page_footer(