summaryrefslogtreecommitdiff
path: root/app/models/ability.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 15:11:56 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 15:11:56 +0100
commit75b36967fed9db8268391ac10b02f5c0870c32ca (patch)
tree73c591300771545c3abffb767657d68872535122 /app/models/ability.rb
parentc7389cb6f1a305bc7e5cfefd9548c1e1bf7b6018 (diff)
Finetuning backup.
Diffstat (limited to 'app/models/ability.rb')
-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 0d13dab..01f26aa 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -64,6 +64,10 @@ class Ability
#
cannot [:edit, :update], FaxDocument
+ # Backups can't be edited
+ #
+ cannot [:edit, :update], BackupJob
+
# Can manage GsNodes
#
can :manage, GsNode