Skip to content

Commit

Permalink
Enable bucket admins to revoke user access (#774)
Browse files Browse the repository at this point in the history
* Enable bucket admins to revoke user access
* Apply suggestions from code review
  • Loading branch information
calumabarnett authored Nov 12, 2019
1 parent 3a994b5 commit 31e68f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controlpanel/frontend/jinja2/datasource-access-update.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1 class="govuk-heading-xl">{{ page_title }}</h1>
</form>
</section>

{% if request.user.has_perm('api.destroy_items3bucket', items3bucket) %}
{% if request.user.has_perm('api.destroy_users3bucket', items3bucket) %}
<section class="cpanel-section">
<form method="post" action="{{ revoke_url }}">
{{ csrf_input }}
Expand Down

0 comments on commit 31e68f6

Please sign in to comment.