]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/ability.rb
Only check IP addresses for anonymous note comments
[rails.git] / app / abilities / ability.rb
index f2486d2b4307b3551c22a5899e5844eecb643e29..707272182e81adff11236e0c60d2c36ddcc20eb4 100644 (file)
@@ -34,6 +34,7 @@ class Ability
         can [:hide, :hidecomment], [DiaryEntry, DiaryComment]
         can [:index, :show, :resolve, :ignore, :reopen], Issue
         can :create, IssueComment
+        can [:grant, :revoke], UserRole
       end
     end