X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb3326778b5d8f0a70ba0873bbd2339930108311..1ff7b6217ae596cc2a3b74500ac99e710546a54b:/app/abilities/ability.rb?ds=inline 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?