Open ioleo opened 8 years ago
I'd like to ask you in which kind of operations/tasks are you thinking about integrating the new Workflow component. Thanks!
For reference: the Symfony 3.2 Workflow component
I'm also not sure where we would want to use it. You want to add the workflow to the editing of the bundle? I'm not sure if that's something we would want, imho it is out of the scope of this bundle.
I meant adding support workflow_can
checks instead/in addition to(?) of security is_granted
checks.
That's is not where the workflow component is meant to be used for if I understand it correctly. How does a state change if you want to view the list? Or if you simply only edit the object?
I would stay with the is_granted
-checks.
True :) the view / list actions require simple credential checks, but for custom object actions (which in my projects are mostly state transitions like accept
, send
, publish
etc) it could be useful to use the workflow component
It seems like symfony 3.2 workflow component could be a perfect addition to admingenerator. We should think how it could be easily implemented into out tempaltes without breaking current behaviour. Or maybe it's worth a BC break? Please share your thoughts.