From 11a4df5df2d4bcf447f5e5578ea79d1176f9650f Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Thu, 11 Apr 2024 17:25:00 +0200 Subject: [PATCH] Fix elements clipboard button permissions These are the wrong access keys. --- app/views/alchemy/admin/elements/index.html.erb | 2 +- spec/features/admin/edit_elements_feature_spec.rb | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/views/alchemy/admin/elements/index.html.erb b/app/views/alchemy/admin/elements/index.html.erb index 9ce2c9cd27..f9d33c37e0 100644 --- a/app/views/alchemy/admin/elements/index.html.erb +++ b/app/views/alchemy/admin/elements/index.html.erb @@ -24,7 +24,7 @@ link_options: { id: "clipboard_button" }, - if_permitted_to: [:show, :alchemy_clipboard] + if_permitted_to: [:index, :alchemy_admin_clipboard] ) %> " placement="top-end" class="right">