X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb3326778b5d8f0a70ba0873bbd2339930108311..6d48655a71908c77b041daae3b4c3631675831ae:/app/abilities/ability.rb diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index b9da5d08a..83ab69ee2 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -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?