diff --git a/app/views/glossary_terms/show.html.erb b/app/views/glossary_terms/show.html.erb index e1a2b2b..07364ad 100644 --- a/app/views/glossary_terms/show.html.erb +++ b/app/views/glossary_terms/show.html.erb @@ -55,5 +55,5 @@ <%= render partial: 'attachments/links', locals: {attachments: @term.attachments, - options: {deletable: User.current.logged?} + options: {deletable: User.current.allowed_to?(:manage_glossary, @project)} }%>