]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/ability.rb
Merge remote-tracking branch 'upstream/pull/5341'
[rails.git] / app / abilities / ability.rb
index 9a8f193a1b5164ce1eea0e09cd583338729f6bd7..725ceccb2cc8a144d27a2bc5436608b8a6516426 100644 (file)
@@ -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