##// END OF EJS Templates
Fixed that 200 API responses have a body containing one space (#11388)....
Fixed that 200 API responses have a body containing one space (#11388). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9975 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r7637:cedeee2e16d2
r9792:18f693f9f7c1
Show More
096_add_commit_access_permission.rb
13 lines | 328 B | text/x-ruby | RubyLexer
/ db / migrate / 096_add_commit_access_permission.rb
class AddCommitAccessPermission < ActiveRecord::Migration
def self.up
Role.find(:all).select { |r| not r.builtin? }.each do |r|
r.add_permission!(:commit_access)
end
end
def self.down
Role.find(:all).select { |r| not r.builtin? }.each do |r|
r.remove_permission!(:commit_access)
end
end
end