X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fb3326778b5d8f0a70ba0873bbd2339930108311..8682b58154b0d42cb0dcc9f85efa806bea68210c:/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?