Skip to content

Pimcore: Workflow Management

Override Pimcore Permissions On Workflow Places

yaml
pimcore:
    workflows:
        my_workflow:
            places:
                my_place:
                    permissions:
                        - condition: "is_granted('ROLE_EDITOR')"
                          publish: true
                          delete: true
                        - publish: false
                          delete: false

If a user has a ROLE_EDITOR, he can perform publish and delete operations even if his role does not have them.

Keywords

  • condition allows you to set an expression that must be met for a given action to be available
  • save, publish, unpublish, delete, rename, view, settings, versions, properties are available DataObject actions
  • modify is equivalent for save, publish, unpublish, delete and rename.

Sources