Mercurial > hg > soundsoftware-site
view .svn/pristine/d1/d1cb23e4b2849d91c4eed462a543696732f1999f.svn-base @ 1384:b51b5ae3734c luisf
Merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 20 Sep 2013 19:04:25 +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