diff options
author | Peter Kozak <spag@golwen.net> | 2013-04-24 22:49:23 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-04-24 22:49:23 +0200 |
commit | ae99f98a7ae52a375f1b3b5a85d34c9dd15ff81c (patch) | |
tree | 7eb3389741ac895f4b80594bb5ba91fc2b4cd9b3 /app | |
parent | 00e26f18486d953814fc0c0a4ba0d30432b56f23 (diff) |
generic_files user abilities
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ability.rb | 2 |
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 |