15397: Remove usage of default_owner_uuid.
[arvados.git] / services / api / lib / current_api_client.rb
index 7c99c911f8d58d563d0902fb190cb4f87b01726c..cb9182a1b7a1c0d2dd79dbbe86f92e1574e966ac 100644 (file)
@@ -19,15 +19,6 @@ module CurrentApiClient
     Thread.current[:api_url_base]
   end
 
-  def current_default_owner
-    # owner_uuid for newly created objects
-    ((current_api_client_authorization &&
-      current_api_client_authorization.default_owner_uuid) ||
-     (current_user && current_user.default_owner_uuid) ||
-     (current_user && current_user.uuid) ||
-     nil)
-  end
-
   # Where is the client connecting from?
   def current_api_client_ip_address
     Thread.current[:api_client_ip_address]