Administrators can edit issue notes.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1105 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2008-02-02 10:50:31 +00:00
1 parent 4abb82fd7b
commit bea49ae245
13 files changed
+156 -3

No files matched your search

+4
View File
@@ -49,4 +49,8 @@ class Journal < ActiveRecord::Base
c = details.detect {|detail| detail.prop_key == prop}
c ? c.value : nil
end
def editable_by?(usr)
usr && usr.admin?
end
end