summaryrefslogtreecommitdiff
path: root/app/models/ability.rb
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-16 09:28:55 +0100
committerspag <spag@golwen.net>2013-01-16 09:28:55 +0100
commit3880e410353f1e80a938e110c04c2b3629ab5eb6 (patch)
tree793d44cfafcc3925684309c1650b922842828a01 /app/models/ability.rb
parent1debae060b1c4a816f4565ad55490fee61c6472b (diff)
parent6635621faeebbc8dd744e0ad71741f9e82aed1f8 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/models/ability.rb')
-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.
#