summaryrefslogtreecommitdiffstats
path: root/app/views/workflows/permissions.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/workflows/permissions.html.erb')
-rw-r--r--app/views/workflows/permissions.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/workflows/permissions.html.erb b/app/views/workflows/permissions.html.erb
index b646146b0..6046201d3 100644
--- a/app/views/workflows/permissions.html.erb
+++ b/app/views/workflows/permissions.html.erb
@@ -62,7 +62,7 @@
</td>
<% for status in @statuses -%>
<td align="center" class="<%= @permissions[status.id][field] %>">
- <%= field_permission_tag(@permissions, status, field) %>
+ <%= field_permission_tag(@permissions, status, field, @role) %>
<% unless status == @statuses.last %><a href="#" class="repeat-value">&#187;</a><% end %>
</td>
<% end -%>
@@ -82,7 +82,7 @@
</td>
<% for status in @statuses -%>
<td align="center" class="<%= @permissions[status.id][field.id.to_s] %>">
- <%= field_permission_tag(@permissions, status, field) %>
+ <%= field_permission_tag(@permissions, status, field, @role) %>
<% unless status == @statuses.last %><a href="#" class="repeat-value">&#187;</a><% end %>
</td>
<% end -%>