OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/controllers/api/v2/users_controller.rb

23 lines
352 B

module Api
module V2
class UsersController < UsersController
include ::Api::V2::ApiController
skip_filter :require_admin, :only => :index
def index
@users = UserSearchService.new(params).search.visible_by(User.current)
respond_to do |format|
format.api
end
end
end
end
end