summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/ability.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb
index 185572c..2725572 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -185,6 +185,8 @@ class Ability
can :manage, VoicemailMessage
can :manage, VoicemailSetting
+ can :manage, GenericFile, :owner_type => 'User', :owner_id => user.id
+
# Switchboard
#
can :read, Switchboard, :id => user.switchboard_ids