Added Registrar roles with super, epp, billing

This commit is contained in:
Priit Tark 2015-05-20 19:58:00 +03:00
parent 8371dcf46e
commit 5afa0ac793
12 changed files with 77 additions and 24 deletions

View file

@ -0,0 +1,7 @@
class AddDefalutRole < ActiveRecord::Migration
def change
ApiUser.all.each do |u|
u.update_column :roles, ['super'] if u.roles.blank?
end
end
end