summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-05-21 09:11:43 +0200
committerPeter Kozak <spag@golwen.net>2013-05-21 09:11:43 +0200
commitb5c3872e40440d05ac56f6608f3da51d5b8cbed7 (patch)
tree1f77b849575c242082d716c39c0ca0da1950e405 /db
parent45347d2094d79eaecb3df7d234b9bd7e436275c7 (diff)
presence added
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130224091700_add_initial_groups.rb1
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')