Added the following permissions (#527, #585, #627):

* edit_issue_notes: let user edit any notes
* edit_own_issue_notes: let user edit his own notes only

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1152 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-02-16 13:19:33 +00:00
parent abb0b15407
commit 1c8cf4ef83
7 changed files with 24 additions and 6 deletions
+2
View File
@@ -1,5 +1,6 @@
<% note_id = 1 %>
<% for journal in journals %>
<div id="change-<%= journal.id %>">
<h4><div style="float:right;"><%= link_to "##{note_id}", :anchor => "note-#{note_id}" %></div>
<%= content_tag('a', '', :name => "note-#{note_id}")%>
<%= format_time(journal.created_on) %> - <%= journal.user.name %></h4>
@@ -9,5 +10,6 @@
<% end %>
</ul>
<%= render_notes(journal) unless journal.notes.blank? %>
</div>
<% note_id += 1 %>
<% end %>