Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Requirements

Structure

It is possible to use the version management feature only on assets that have a workcopy-compliant structure. A structure is workcopy compliant if it has the following properties :

Property

Type

Description

copietravail

Child -> #self

References the current version of the asset to be replaced.

uid

Text

Unique identifier in the format objectname_id linking asset versions.

version

Integer

Indicates the version number.

These properties are verified in the Wizards tab of the object structure administration interface.

Arounf the tab “Versions”

Configuration

The version management feature is accessible on the front end via the tab Versions on the detail page.

How to Upload a New Asset Version - Step 2.png

To configure the display of that tab, the following entry point can be used: $.common.namedDisplays.defaultAssetDetailTabVersions. This tab configuration has been added to the configuration of the tabs on the stater-kit configuration delivered by default via this entry point $.common.namedDisplays.defaultAssetDetailMeta.column.tabs.

Security

Under the security property of the tab configuration(defaultAssetDetailTabVersions.security), it is possible to define which security domain(s) should be evaluated to display the versions tab.

By default, it is preconfigured with :

["objectdata/insert"]

It is possible to use the following security domains :

  • objectdata/insert

  • objectactions/create

  • objectactions/multiupdate

  • objectactions/delete

  • objectactions/view

  • objectactions/changestatus

If the security domains configured are multiple, all security domains should be granted for the user to be able to see the versions tab.

Actions on versions

A set of actions is possible depending on the type of versions and permissions of the user.

  • Draft version :

    • Preview and edit: Only if the user is allowed to edit the instance

    • Delete: Only if the user is allowed to delete the instance

  • Archived version :

    • Preview: Works if the user is allowed to edit the instance.

    • Delete: Only if the user is allowed to delete the instance

  • Current version: No actions are available on the versions tab. Actions for the current instance are displayed on the header.

Versions are still assets and thus are evaluated through security the same way as assets not involved in version management (through their status for instance).

Restoration of an archived version

Miscellaneous

  • No labels