Asset Life Cycle
The transitional states that an asset can pass through in an Enterprise Store life cycle, will vary based on the type of asset. The following diagram depicts the life cycle corresponding to gadgets and e-books:
The following diagram depicts the sample life cycle corresponding to sites:
In the ES life cycle, the ES automatically executes a procedure named the "permission transition", whereby when an asset is moved from one state to another, the permissions associated with the asset too can be changed. As soon as an asset is created, it will be assigned to the Initial state and will be automatically promoted to the Created state. While, the permission transitions that have been specified between the Initial and Created state will be automatically executed.
Permission Transition
The following table shows the permission transitions that take place when an asset moves from one state to other. The definitions of the registry resource permissions that are mentioned in the tables below are as follows:
- get : permission for asset retrieval
- add : permission for adding and updating
- delete : permission for deleting an asset
- authorize : permission for life cycle state transition
- + : denotes whether to give the permission
- - : denotes whether to remove the permission
Sample life cycle 1
Action | Initial State | New State | private_{author} | reviewer | Internal/everyone |
---|---|---|---|---|---|
Create | Initial | Created | +add | -add | |
Submit | Created | In-Review | -add | +add | |
Publish | In-Review | Published | +add | -add | |
Unpublish | Published | Unpublished | +add +authorize | ||
Publish | Unpublished | Publish | +add |
Sample life cycle 2
Action | Initial State | New State | private_{author} | reviewer | Internal/everyone |
---|---|---|---|---|---|
Create | Initial | Created | +add | -add | |
Submit | Created | In-Review | -add | +add | |
Reject | In-Review | Rejected | +add | -add -authorize | |
Re-Submit | Rejected | In-Review | -add | +add | |
Approve | In-Review | Approved | +delete | -add | |
Publish | Approved | Published | -delete | ||
Unpublish | Published | Unpublished | +add | ||
Publish | Unpublished | Publish | +add +authorize | ||
Deprecate | Publish | Deprecated | +add +authorize | ||
Retire | Deprecated | Retired | +add | ||
Deprecate | Unpublished | Deprecated | +add +authorize |