]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/ability.rb
Add revoke all blocks link
[rails.git] / app / abilities / ability.rb
index b9da5d08ac596166124884cc2864eb31155be342..83ab69ee2206eec7b78f122a4006731d74372b48 100644 (file)
@@ -61,7 +61,7 @@ class Ability
           can [:index, :show, :resolve, :ignore, :reopen], Issue
           can :create, IssueComment
           can [:new, :create, :edit, :update, :destroy], Redaction
-          can [:new, :edit, :create, :update, :revoke], UserBlock
+          can [:new, :edit, :create, :update, :revoke, :revoke_all], UserBlock
         end
 
         if user.administrator?