Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Turing Sprint 188
Description
Hints are a function of branchId
The content editor has the concept of "branchId". The branchId determines which document is currently visible in de document editor. That document can be either a variant under the handle or a node from version history.
The menu's in de document editor are added based on the hints from the workflow. Some of these hints depend on the branchId.
E.g. if the "publish" hint is true based on the scxml workflow and thus on the state of the variants under the handle. For a variant associated with a project the publish action is not allowed and not available. If the the unpublished variant is associated with project P and the user is currently viewing the "master" version, then the publish action should be available.