diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-27 10:23:26 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-27 10:23:26 +0100 |
commit | 15d5f410afafce67b61a27479a21546cebd48ed9 (patch) | |
tree | aa7c44ab2e809dccbd76331d3309789b62e777d7 /app/models | |
parent | 4d6c3cc12ecef9f8c82e448d5ab9fba5fb52ef57 (diff) |
Show a restore link in the setup navigation bar.
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ability.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb index 2e270da..23af525 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -90,6 +90,11 @@ class Ability # SIM cards # cannot [:edit, :update], SimCard + + # Restore is only possible on a new system. + # + cannot :manage, RestoreJob + else # Any user can do the following stuff. # |