summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-27 06:53:20 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-27 06:53:20 +0100
commit7f404c454afc6c546fba6885dbcf409f67a73d0f (patch)
treebdf16c9d3f76bba3133d075642ea84aaa934099e /app
parent5053adc7c549830acda4d1218efa76f44e107a8a (diff)
Rights for the call action of a SipAccount.
Diffstat (limited to 'app')
-rw-r--r--app/models/ability.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb
index be64528..2e270da 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -169,6 +169,10 @@ class Ability
#
can :manage, VoicemailMessage
can :manage, VoicemailSetting
+
+ # Can initiate a call
+ #
+ can :call, SipAccount
end
end
else