##// END OF EJS Templates
Updated CHANGELOG for 2.4.4 and 2.5.0....
Updated CHANGELOG for 2.4.4 and 2.5.0. git-svn-id: http://svn.redmine.org/redmine/trunk@12948 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10691:abd921736b6d
r12673:8a2413f3b718
Show More
099_add_delete_wiki_pages_attachments_permission.rb
13 lines | 339 B | text/x-ruby | RubyLexer
/ db / migrate / 099_add_delete_wiki_pages_attachments_permission.rb
Jean-Philippe Lang
Adds 'Delete wiki pages attachments' permission....
r1936 class AddDeleteWikiPagesAttachmentsPermission < ActiveRecord::Migration
def self.up
Jean-Philippe Lang
Replaces find(:all) calls....
r10691 Role.all.each do |r|
Toshi MARUYAMA
replace tabs to spaces at db/migrate/099_add_delete_wiki_pages_attachments_permission.rb (#9510)...
r7636 r.add_permission!(:delete_wiki_pages_attachments) if r.has_permission?(:edit_wiki_pages)
end
Jean-Philippe Lang
Adds 'Delete wiki pages attachments' permission....
r1936 end
def self.down
Jean-Philippe Lang
Replaces find(:all) calls....
r10691 Role.all.each do |r|
Toshi MARUYAMA
replace tabs to spaces at db/migrate/099_add_delete_wiki_pages_attachments_permission.rb (#9510)...
r7636 r.remove_permission!(:delete_wiki_pages_attachments)
end
Jean-Philippe Lang
Adds 'Delete wiki pages attachments' permission....
r1936 end
end