When a component is published successfully, we want a related component to be auto published (am not going into the details of why we need this). We are trying to implement this through event system.
this.EventSystem.SubscribeAsync<Component, SetPublishStateEventArgs>(this.OnComponentSetPublishState, EventPhases.Initiated);
Though the related component is added to the queue, it is added to the queue by system user ""Tridion Content Manager System NT Authority User", not by the user who actually published the first component. Is there a way by which we can have the related component added to the publishing queue by the actual user? Version: SDL WEB 8.5