summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 22:01:14 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-15 22:01:14 +0100
commit40a879fb6a3db4db302eb5113586901eb45b3279 (patch)
treece7c1db61f85d3980baeb7695650c7bb3f3a4f8f /app/models
parent96fc4789d9991548b9fd1144f185da1f3464f156 (diff)
parentd44b8c81f939deb1e83e17d19c580b3bf6ac9ab6 (diff)
Merge branch 'abilities_for_gui_functions' into develop
Diffstat (limited to 'app/models')
-rw-r--r--app/models/ability.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/ability.rb b/app/models/ability.rb
index 0fa40c8..cd91a8a 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -74,9 +74,10 @@ class Ability
cannot :manage, PhoneNumberRange
end
- # GsParameter can't be created or deleted via the GUI
+ # GsParameter and GuiFunction can't be created or deleted via the GUI
#
cannot [:create, :destroy], GsParameter
+ cannot [:create, :destroy], GuiFunction
else
# Any user can do the following stuff.
#