From 31e68f6bcd0221a1af3d4ac9e6064617825f20e0 Mon Sep 17 00:00:00 2001 From: Calum Barnett <46442591+calumabarnett@users.noreply.github.com> Date: Tue, 12 Nov 2019 14:58:57 +0000 Subject: [PATCH] Enable bucket admins to revoke user access (#774) * Enable bucket admins to revoke user access * Apply suggestions from code review --- controlpanel/frontend/jinja2/datasource-access-update.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controlpanel/frontend/jinja2/datasource-access-update.html b/controlpanel/frontend/jinja2/datasource-access-update.html index d4d40bbe3..89868978e 100644 --- a/controlpanel/frontend/jinja2/datasource-access-update.html +++ b/controlpanel/frontend/jinja2/datasource-access-update.html @@ -22,7 +22,7 @@

{{ page_title }}

-{% if request.user.has_perm('api.destroy_items3bucket', items3bucket) %} +{% if request.user.has_perm('api.destroy_users3bucket', items3bucket) %}
{{ csrf_input }}