Project

General

Profile

Actions

Idea #10405

open

[API] Remove unimplemented fields from api_client_authorization

Added by Peter Amstutz about 8 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
Story points:
-
Release:
Release relationship:
Auto

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
Actions

Also available in: Atom PDF