Skip to content

use of Audit collection is limited to a few functions #1763

@ElectricNroff

Description

@ElectricNroff

The originally described purpose of the Audit collection was to enable retrieval of all organization data that ever existed as live (i.e., not "review") data. Also #1572 has "2. When an organization is updated." However, the users and admins arrays are part of BaseOrg documents, Thus, BaseOrg documents are routinely modified by API calls such as POST /registry/org/:shortname/user but the change is not recorded in the Audit collection. Similarly, a user can be moved between organizations. The use of the Audit collection in createOrg, updateOrg, and updateOrgFull does not capture all BaseOrg document changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions