Mercurial > hg > soundsoftware-site
view .svn/pristine/17/176d1dc144c5bd598057e3a7c94346dee9aedc08.svn-base @ 1517:dffacf8a6908 redmine-2.5
Update to Redmine SVN revision 13367 on 2.5-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:29:00 +0100 |
parents | 261b3d9a4903 |
children |
line wrap: on
line source
class AddViewIssuesPermission < ActiveRecord::Migration def self.up Role.all.each do |r| r.add_permission!(:view_issues) end end def self.down Role.all.each do |r| r.remove_permission!(:view_issues) end end end