Skip to main content

Access, history and audit

Shared data needs clear rules about who may change what, and a record of what happened. In Vox, every change is made by a known identity, whether that is an editor, an integration or a business rule, and that identity stays attached to the change afterwards.

Give people the access they need​

A translator may edit Norwegian descriptions while the pricing team controls prices. Permission to prepare a draft can be separate from permission to publish it. Give an integration its own identity so an ERP update can be distinguished from an editor's correction.

People get their permissions through roles, and a person with several roles gets everything those roles allow. Some examples of what a role can express:

Edit, but not publish

A junior editor prepares drafts. A senior editor reviews and publishes them.

Only their own

An account manager works on their own customer accounts. A customer can read and cancel their own orders, and nobody else's.

Hidden fields

Purchase prices, margins, credit limits and supplier terms can be hidden from everyone who isn't allowed to see them, including in history, exports and feeds.

Their brands, their market

One Brand manager role serves every brand: each person edits the products of the brands they're assigned to. A country manager looks after the products and stores of their own country, and a supplier's integration only reaches its own products.

Integrations apart

The ERP connection signs in with its own credentials and role, separate from any person.

Administrators set up a role in the admin by ticking what it may do with each kind of data, such as read products, edit only their texts or publish campaigns, and where, such as only in Swedish or only in the Nordic markets. Nothing needs to be typed or remembered, broader choices show what they already include, and a choice that no longer means anything, eg for fields that were removed, is pointed out so it can be cleaned up.

The admin only offers what a person is allowed to do. A field they can't change is shown read-only, and a field they can't see isn't shown at all.

Within what they may see, each person can also focus on their work with a perspective, such as Buying or Content, which shows the fields that matter to it. Administrators give each person a default perspective next to their roles, so a new buyer starts with the buying fields in front of them. Roles decide what someone may see and change; a perspective decides what they look at, so switching perspective never shows anything their roles keep from them. Your own view

Trace a change​

If a price looks wrong after a launch, open the product's history and inspect the recorded changes. The team can compare versions, identify the editor or source and restore an earlier version. Business events such as a payment attempt can have their own record.

Product history with the cause of each change

Each entry in a record's history says who made the change and why: an editor's action, an import from the ERP, a business rule, or the publication of a release. When a rule creates a follow-up task, the task's history shows the rule that created it. Beyond a single product, the audit view searches across the whole catalogue and answers questions such as:

  • What did this API client change today?
  • Who changed a price field last week?
  • Which campaigns changed because a release was published rather than because of an import?

Decide what to keep​

Each type of data can keep the history that suits it, and the team decides who can see sensitive details.

Full history

Every earlier version, or the last 100, or those from the last year, for data the team wants to compare and restore.

Previous version only

Just the version before the latest change, for data that changes often and needs little investigation.

Business logs

A record of events that aren't edits, such as payment attempts on an order or messages sent to a customer.

Old records can be removed automatically after an agreed period.

Personal data

When a customer asks to be forgotten, their personal details can be replaced with anonymous values while orders keep pointing to the anonymised customer. Earlier versions that held the details are removed at the same time. Where nothing may remain, the team can purge a record completely, once nothing else refers to it.

Technical documentation