[phase-12]delete icon shown on only the user with manage_glossary permission
This commit is contained in:
parent
ac1db68faa
commit
4acdaedb81
@ -55,5 +55,5 @@
|
|||||||
|
|
||||||
<%= render partial: 'attachments/links',
|
<%= render partial: 'attachments/links',
|
||||||
locals: {attachments: @term.attachments,
|
locals: {attachments: @term.attachments,
|
||||||
options: {deletable: User.current.logged?}
|
options: {deletable: User.current.allowed_to?(:manage_glossary, @project)}
|
||||||
}%>
|
}%>
|
||||||
|
Loading…
Reference in New Issue
Block a user