##// END OF EJS Templates
Overdue versions (date reached and open issues > 0) are now always displayed on the roadmap....
Overdue versions (date reached and open issues > 0) are now always displayed on the roadmap. git-svn-id: http://redmine.rubyforge.org/svn/trunk@604 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r526:b90e84b9fe25
r601:3c8e7c79b639
Show More
047_add_boards_permissions.rb
13 lines | 831 B | text/x-ruby | RubyLexer
/ db / migrate / 047_add_boards_permissions.rb
Jean-Philippe Lang
Per project forums added....
r526 class AddBoardsPermissions < ActiveRecord::Migration
def self.up
Permission.create :controller => "boards", :action => "new", :description => "button_add", :sort => 2000, :is_public => false, :mail_option => 0, :mail_enabled => 0
Permission.create :controller => "boards", :action => "edit", :description => "button_edit", :sort => 2005, :is_public => false, :mail_option => 0, :mail_enabled => 0
Permission.create :controller => "boards", :action => "destroy", :description => "button_delete", :sort => 2010, :is_public => false, :mail_option => 0, :mail_enabled => 0
end
def self.down
Permission.find_by_controller_and_action("boards", "new").destroy
Permission.find_by_controller_and_action("boards", "edit").destroy
Permission.find_by_controller_and_action("boards", "destroy").destroy
end
end