comparison .svn/pristine/17/176d1dc144c5bd598057e3a7c94346dee9aedc08.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
comparison
equal deleted inserted replaced
1297:0a574315af3e 1298:4f746d8966dd
1 class AddViewIssuesPermission < ActiveRecord::Migration
2 def self.up
3 Role.all.each do |r|
4 r.add_permission!(:view_issues)
5 end
6 end
7
8 def self.down
9 Role.all.each do |r|
10 r.remove_permission!(:view_issues)
11 end
12 end
13 end