com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Asset Lifecycle

The transitional states that an asset can pass through in an Enterprise Store lifecycle, will vary based on the type of asset. The following diagram depicts the lifecycle corresponding to gadgets:

The following diagram depicts the sample lifecycle corresponding to sites:

In the ES lifecycle, 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 lifecycle state transition
  • +  : denotes whether to give the permission
  • -   : denotes whether to remove the permission

Sample lifecycle 1

ActionInitial StateNew Stateprivate_{author}reviewerInternal/everyone

Create

Initial

Created

+add
+delete
+authorize


 

-add
-delete
-authorize

Submit

Created

In-Review

-add
-delete
-authorize

+add
+authorize


 

Publish

In-Review

Published

+add
-delete
+authorize

-add
-authorize


 

Unpublish

Published

Unpublished

+add
+authorize

 

 

Publish

Unpublished

Publish

+add
+ authorize


 

 

Sample lifecycle 2

ActionInitial StateNew Stateprivate_{author}reviewerInternal/everyone

Create

Initial

Created

+add
+delete
+authorize


 

-add
-delete
-authorize

Submit

Created

In-Review

-add
-delete
-authorize

+add
+authorize


 

Reject

In-Review

Rejected

+add
+delete
+authorize

-add

-authorize


 

Re-Submit

Rejected

In-Review

-add
-delete
-authorize

+add
+authorize


 

Approve

In-Review

Approved

+delete
+authorize

-add
-authorize


 

Publish

Approved

Published

-delete
+authorize  


 

 

Unpublish

Published

Unpublished

+add
+authorize


 

 

Publish

Unpublished

Publish

+add
+authorize

 

 

Deprecate

Publish

Deprecated

+add
+authorize

 

 

Retire

Deprecated

Retired

+add
+authorize


 

 
DeprecateUnpublishedDeprecated+add
+authorize
  
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.