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