Story #10405

[API] Remove unimplemented fields from api_client_authorization

Added by Peter Amstutz over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

  • lib/current_api_client.rb:
  def current_default_owner

Not used anywhere. current_api_client_authorization.default_owner_uuid is never set and current_user.default_owner_uuid doesn't exist.

  • app/models/api_client_authorization.rb:

These _id fields are exposed, despite the fact that they are internal database identifiers that are not meaningful to the client. The owner_uuid field is a virtual field that translates the user_id to a uuid.

    t.add :user_id
    t.add :api_client_id

History

#1 Updated by Peter Amstutz over 2 years ago

  • Description updated (diff)

#2 Updated by Peter Amstutz over 2 years ago

  • Description updated (diff)

#3 Updated by Peter Amstutz over 2 years ago

  • Subject changed from [API] Cleanup to [API] Remove unimplemented fields from api_client_authorization

#4 Updated by Tom Morris over 1 year ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF