Creative workflow with security from security.xml
Here you will find the current permissions by role (provided with a starter-kit) transcribed into readable text. This way we hope you can setup appropriate security rules for the creative worklow while using a security from security.xml.
...
Expand |
---|
title | Permission details : readable text view |
---|
|
View Action: Objects: collaborativebrief, collaborativespace, massimportitem, massimportjob, massimportpreviousitem. Permission: Any user can view objects regardless of status or ownership.
Delete Action: Objects: collaborativebrief, collaborativespace, massimportitem, massimportjob, massimportpreviousitem. Delete Action:Insert Action: Objects: collaborativebrief, collaborativespace, massimportitem, massimportjob, massimportpreviousitem.
Insert Action: Update Action: Objects: collaborativebrief, collaborativespace, massimportitem, massimportjob, massimportpreviousitem.
Update Action: Change Status Action: Objects: collaborativebrief, collaborativespace, massimportitem, massimportjob, massimportpreviousitem. Change Status Action:Permission: Any workflow action, such as publishing or archiving, can change the status of objects, regardless of current status or ownership. Objects: collaborativebrief, collaborativespace, massimportitem, massimportjob, massimportpreviousitem.
|
Expand |
---|
title | Permission details : technical view |
---|
|
for objects : collaborativebrief collaborativespace massimportitem massimportjob massimportpreviousitem
for objects : collaborativebrief collaborativespac massimportitem massimportjob massimportpreviousitem
for objects : collaborativebrief collaborativespace massimportitem massimportjob massimportpreviousitem
for objects : collaborativebrief collaborativespace massimportitem massimportjob massimportpreviousitem
for objects : collaborativebrief collaborativespace massimportitem massimportjob massimportpreviousitem
|
...
Expand |
---|
title | Permission details : readable text view |
---|
|
View Action: Insert Action: Objects: collaborativebrief, collaborativespace, massimportitem, massimportjob, massimportpreviousitem Permission:
Update Action: Delete Action: Change Status Action: Objects: massimportitem Permission:
|
...
Expand |
---|
title | Permission details : readable text view |
---|
|
View Action: Insert Action: Update Action: Delete Action: Objects: massimportitem Permission:
Change Status Action: Objects: massimportitem Permission:
|
...
Info |
---|
$anystatus : Any state
$anyowner : No restriction on ownership
$newcreation : Creating a fresh instance (eg click on the “New” button)
$anyaction : Any workflow action (including publishing and archiving actions)
$teammember : surfer is in instance’s team prop value
Keyword’s activation conditions : $teamleader : surfer is team’s leader Keyword’s activation conditions :
$never : surfer not allowed
Setting Up Permissions and Roles |
...
The current behavior is configured by a damutils configuration, which enables the transition of all assets created through the creative workflow to the published status (ID 6).
Previous configuration :
Expand |
---|
title | Old way, but if user had no rights of changestatus over assets, the action was not done |
---|
|
The actual configuration : Code Block |
---|
{
"objectSelector": "#damobject",
"preventGuard": {
"classAlias": "negate",
"input": {
"preset": "canPublish"
}
},
"workflowTrigger": [
"publish"
]
} |
This configuration works for the assets created from the creative workflow, only because : |
...
So if you want to change the status of asset created with the creative worfklow, you will have to change the action called in worfklowTrigger
|
New configuration :
Code Block |
---|
{
"objectSelector": "#damobject",
"preventGuard": {
"classAlias": "negate",
"input": {
"preset": "isSpaceAsset"
}
},
"workflowTrigger": [
"publish"
]
}, |
This configuration means that all assets created from spaces will get it’s status modified to published by the publish action.
So if you want to change the status of asset created with the creative worfklow, you will have to change the action called in worfklowTrigger
...