10cf1ccc1a
* news * new issues reported * details of issue changes issue cutom queries can be used as feeds git-svn-id: http://redmine.rubyforge.org/svn/trunk@339 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 lines
359 B
Ruby
10 lines
359 B
Ruby
class AddProjectsFeedsPermissions < ActiveRecord::Migration
|
|
def self.up
|
|
Permission.create :controller => "projects", :action => "feeds", :description => "label_feed_plural", :sort => 132, :is_public => true, :mail_option => 0, :mail_enabled => 0
|
|
end
|
|
|
|
def self.down
|
|
Permission.find_by_controller_and_action('projects', 'feeds').destroy
|
|
end
|
|
end
|