Skip to content

CAP-PFM-OPS-009Review a person’s record-view history

Markdown

CAP-PFM-OPS-009

Review a person’s record-view history

Markdown
  • DocumentDraft
  • Product intentConfirmed
  • ImplementationPartially observed

KindCapabilityProduct areaPlatformModuleOperational RecordsRevision1

Read atservices-platform ad3f6a65

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
A person can inspect their raw visit history under appropriate authority.Administrative review remains distinct from individual history readership.
Surfaces
api
Preconditions
The caller holds own-history authority or the separate permission needed for a colleague’s views.
Postconditions
History inspection leaves activity records unchanged.
Intent sources
services-platform:docs/audit-events.md#2026-10-12 — Final acceptance (scope: the person's raw view history and an administrator's read of it)

Controls

25 controls apply, from the corpus control catalogue.

TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-CRY-001 TC-CRY-002 TC-CRY-003 TC-CRY-004 TC-DAT-004 TC-IAM-001 TC-IAM-002 TC-IAM-004 TC-IAM-005 TC-LOG-002 TC-LOG-003 TC-LOG-004 TC-LOG-005 TC-PI-001 TC-PI-005 TC-TEN-001 TC-TEN-002 TC-TEN-003 TC-VEN-001 TC-VEN-002 TC-VEN-003

Permissions

KeyChecked atScope
platform.record-views.readapitenant
platform.audit-events.readapitenant

Business Rules

8 rules, 6 to be proved before approval. A rule's product intent is derived from its origin: 8 confirmed by a product decision, the rest inheriting this capability's confirmed.

IdRuleKindEnforced atProvenance
01must prove
Confirmed
Own-history reads require view-history authority, while a colleague’s history requires the separate administrator-tier audit permission.
permissionapitest
services-platform:modules/audit/tests/unit/aws/api/audit-permissions.spec.ts#declares reading another user’s audit events at the admin tier, which is what keeps it out of Read Only
02must prove
Confirmed
Raw history retains one entry per visit in descending timestamp and identity order, including visits to deleted records without resolving their current contents.
policyservicetest
services-platform:modules/audit/tests/integration/services/record-views/view-history.integration.spec.js#still holds the view after the contact is gone, because a trail is not a list of records
03must prove
Confirmed
History defaults to twenty-five rows and rejects requested sizes outside one through fifty.
validationapi, servicetest
04must prove
Confirmed
History pagination uses timestamp and event identity to traverse tied timestamps without gaps or repeats and rejects malformed cursor representations.
validationapi, service, databasetest
05must prove
Confirmed
Filtering history by an unsupported registered record type is refused rather than returning an empty page.
validationservicetest
services-platform:modules/audit/tests/integration/services/record-views/view-history.integration.spec.js#refuses a record type the registry does not hold, rather than answering an empty page
06must prove
Confirmed
History queries restrict results to the requested actor in the current workspace.
permissionservice, databasetest
07
Confirmed
View-history reads exclude merge, intervention and other event types stored in the same trail.
policyservicedocumented
08
Confirmed
The accepted history scope provides API reads for a person and an administrator without a console history screen.
origin: services-platform:docs/audit-events.md#2026-10-12 — Final acceptance
policyconsoledocumented
services-platform:docs/audit-events.md#2026-10-12 — Final acceptance (scope excludes a history UI)

Scenarios

IdGivenWhenThenProvenance
01A person has view history containing a visit to a removed record.The person pages through the authorized history.The raw visit remains present and pagination does not repeat or omit entries.inferred
02A reader lacks the colleague-history permission.The reader requests someone else’s views.The separate administrative route refuses the read.inferred
services-platform:modules/audit/tests/unit/aws/api/audit-permissions.spec.ts#declares reading another user’s audit events at the admin tier, which is what keeps it out of Read Only

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.