]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/ability.rb
Add revoke all actions to received blocks resource
[rails.git] / app / abilities / ability.rb
index fe899d09dd0638325a5ce207814392c71835b0f1..6638016d72ea55b1cad4fbd908228562d1db00fc 100644 (file)
@@ -56,7 +56,7 @@ class Ability
           can [:read, :resolve, :ignore, :reopen], Issue
           can :create, IssueComment
           can [:create, :update, :destroy], Redaction
-          can [:create, :revoke_all], UserBlock
+          can [:create, :destroy], UserBlock
           can :update, UserBlock, :creator => user
           can :update, UserBlock, :revoker => user
           can :update, UserBlock, :active? => true