##// END OF EJS Templates
Replaces find(:first) calls....
Replaces find(:first) calls. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10928 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10691:abd921736b6d
r10701:31c33f462d92
Show More
096_add_commit_access_permission.rb
13 lines | 314 B | text/x-ruby | RubyLexer
/ db / migrate / 096_add_commit_access_permission.rb
Jean-Philippe Lang
Merged nbc branch @ r1812 (commit access permission and reposman improvements)....
r1812 class AddCommitAccessPermission < ActiveRecord::Migration
def self.up
Jean-Philippe Lang
Replaces find(:all) calls....
r10691 Role.all.select { |r| not r.builtin? }.each do |r|
Toshi MARUYAMA
replace tabs to spaces at db/migrate/096_add_commit_access_permission.rb (#9510)...
r7637 r.add_permission!(:commit_access)
end
Jean-Philippe Lang
Merged nbc branch @ r1812 (commit access permission and reposman improvements)....
r1812 end
def self.down
Jean-Philippe Lang
Replaces find(:all) calls....
r10691 Role.all.select { |r| not r.builtin? }.each do |r|
Toshi MARUYAMA
replace tabs to spaces at db/migrate/096_add_commit_access_permission.rb (#9510)...
r7637 r.remove_permission!(:commit_access)
end
Jean-Philippe Lang
Merged nbc branch @ r1812 (commit access permission and reposman improvements)....
r1812 end
end