/usr/lib/ruby/vendor_ruby/chef_zero/endpoints/organization_user_base.rb is in chef-zero 4.5.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | require 'ffi_yajl'
require 'chef_zero/rest_base'
module ChefZero
module Endpoints
module OrganizationUserBase
def self.get(obj, request, &block)
result = obj.list_data(request).map(&block)
obj.json_response(200, result)
end
end
end
end
|