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.
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/userbut 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.