#219: small refactoring of API::Issues controller, fixed ability.rb