@@ -1,5 +1,4 | |||||
1 | class AddCommitAccessPermission < ActiveRecord::Migration |
|
1 | class AddCommitAccessPermission < ActiveRecord::Migration | |
2 |
|
||||
3 | def self.up |
|
2 | def self.up | |
4 |
|
|
3 | Role.find(:all).select { |r| not r.builtin? }.each do |r| | |
5 |
|
|
4 | r.add_permission!(:commit_access) |
General Comments 0
You need to be logged in to leave comments.
Login now