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