Closed mpoiriert closed 5 years ago
Hello.
There is no such feature in this library. But in my opinion, this should not be handled here.
If the point is to forbid any authenticated user to perform some transitions, you should write a transition guard for that purpose.
What do you think?
Le dim. 6 oct. 2019 à 05:47, Martin Poirier Théorêt < notifications@github.com> a écrit :
I have some transition that are executed via a cron. User should not be able to apply those transition from the admin.
Is there a way to do that or I should create a complete other workflow to handle that ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yokai-php/sonata-workflow/issues/13?email_source=notifications&email_token=AAJ6KHXTFISFR5ZUIUNRN53QNFNTLA5CNFSM4I52LGIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP342OQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ6KHWRSJCD4XZUZVHEA2LQNFNTLANCNFSM4I52LGIA .
Sorry I just starting using more complex workflow and I forgot about that part. I'll manage something, since it's not really related to a specific user but rather not being use via a specific cron... Probably just doing something like checking that I am on CLI or there is no currently connected user will do the job. Thanks and sorry to have bother you. Great plugin BTW
I have some transition that are executed via a cron. User should not be able to apply those transition from the admin.
Is there a way to do that or I should create a complete other workflow to handle that ?