diff options
-rw-r--r-- | db/migrate/20130224091700_add_initial_groups.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20130224091700_add_initial_groups.rb b/db/migrate/20130224091700_add_initial_groups.rb index f680fb6..90fbcdb 100644 --- a/db/migrate/20130224091700_add_initial_groups.rb +++ b/db/migrate/20130224091700_add_initial_groups.rb @@ -6,6 +6,7 @@ class AddInitialGroups < ActiveRecord::Migration user_sip_accounts = Group.create(:name => 'user_sip_accounts', :active => true, :comment => 'SIP accounts owned by user accounts') user_sip_accounts.group_permissions.create(:permission => 'pickup', :target_group_id => user_sip_accounts.id) + user_sip_accounts.group_permissions.create(:permission => 'presence', :target_group_id => user_sip_accounts.id) Group.create(:name => 'international_calls', :active => true, :comment => 'International calls permitted') Group.create(:name => 'national_calls', :active => true, :comment => 'National calls permitted') |