diff --git a/app/views/files/_tool_settings.html.erb b/app/views/files/_tool_settings.html.erb index be9596bf..c838581d 100644 --- a/app/views/files/_tool_settings.html.erb +++ b/app/views/files/_tool_settings.html.erb @@ -3,7 +3,7 @@ <% if User.current.admin? || (User.current.logged? ) %> <% if User.current.admin? || ((is_project_manager?(User.current, project) || file.author_id == User.current.id) && project_contains_attachment?(project, file)) %> <% if User.current.admin? || ((delete_allowed || User.current.id == file.author_id) && file.container_id == project.id && file.container_type == "Project") %> - +