view .svn/pristine/d1/d1cb23e4b2849d91c4eed462a543696732f1999f.svn-base @ 976:0befb332f41a get_statistics

get stats up to current date
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 25 Oct 2012 13:50:45 +0100
parents cbb26bc654de
children
line wrap: on
line source
class AddViewIssuesPermission < ActiveRecord::Migration
  def self.up
    Role.find(:all).each do |r|
      r.add_permission!(:view_issues)
    end
  end

  def self.down
    Role.find(:all).each do |r|
      r.remove_permission!(:view_issues)
    end
  end
end