X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f7c2d56df7a90a65bea43e8e9a8336b42cc2b0d0..96ef05b5f7a9a5d64affa8806a9259f61aed3b1f:/app/abilities/ability.rb diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index 9a8f193a1..725ceccb2 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -68,7 +68,7 @@ class Ability can [:index, :show, :resolve, :ignore, :reopen], Issue can :create, IssueComment can [:set_status, :destroy, :index], User - can [:grant, :revoke], UserRole + can [:create, :destroy], UserRole end end end