Skip to content

User ID for author instead or additional to username #401

@monty241

Description

@monty241

A page has the structure:

<?xml version="1.0" encoding="UTF-8"?>
<hypha type="peer_reviewed_article" multiLingual="off" versions="off" schemaVersion="1">
  <article status="published" author="john" created_at="t1542699796" published_at="t1542705868">
    <content>
      ...
    </content>
    <context>
      ...
    </context>
  </article>
  <discussions>
      ...
  </discussions>
  <approves>
    <approve xml:id="id5bf3bdfc26fcb" user="5ad6f6a7ca858" created_at="t1542700540"/>
      ...
  </approves>
</hypha>

The approval uses a user ID like "5ad6f6a7ca858" to refer to a person. However, the author uses the natural / business key of the users like "john" in this sample.

Suggestion is to use the user ID instead of the user name to refer to the author from the <article>.

This makes updates easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions