I am trying to re-assign the "initiator" in my Alfresco Activiti Workflow to an "admin" to
prevent the original initiator from modifying the workflow.
Which class is responsible for defining the flow owner?
I need to change this class.
I'm basing myself on this tutorial: https://hub.alfresco.com/t5/alfresco-content-services-forum/error-changing-workflow-initiator/m-p/30...
but I'm not successful
An approach here would be to rewrite the WorkflowPermissionInterceptor, specifically WorkflowPermissionInterceptor#isInitiatorOrAssignee(). This method should return false for the invoked methods that the initiator should not be allowed access. If this is an Enterprise project, you need to get this type of change signed off from Alfresco Support, otherwise you run the risk of putting the implementation in an unsupported state. MyCCPay
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.