ContentService event handler not firing for non Admins
We have added an event handler that calls a webhook when a piece of content is published, something that I have implemented on a couple of Umbraco installs in the past. The client has complained a number of times that this has not worked but worked fine for me, I then was able to replicate the issue by using a different (non administrator) user account.
using Umbraco.Core;
using Umbraco.Web;
using Umbraco.Core.Composing;
using Umbraco.Core.Events;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.Services;
using Umbraco.Core.Services.Implement;
namespace cms
{
[RuntimeLevel(MinLevel = RuntimeLevel.Run)]
public class EventHandlerComposer : IUserComposer
{
public void Compose(Composition composition)
{
composition.Components().Append
ContentService event handler not firing for non Admins
We have added an event handler that calls a webhook when a piece of content is published, something that I have implemented on a couple of Umbraco installs in the past. The client has complained a number of times that this has not worked but worked fine for me, I then was able to replicate the issue by using a different (non administrator) user account.
I have read through documentation on this and I can't see anything that says you need to enable for certain user roles e.g. https://our.umbraco.com/documentation/reference/events/contentservice-events
We are using version 8.16.0.
Code is:
using Umbraco.Core; using Umbraco.Web; using Umbraco.Core.Composing; using Umbraco.Core.Events; using Umbraco.Core.Models; using Umbraco.Core.Models.PublishedContent; using Umbraco.Core.Services; using Umbraco.Core.Services.Implement;
namespace cms { [RuntimeLevel(MinLevel = RuntimeLevel.Run)] public class EventHandlerComposer : IUserComposer { public void Compose(Composition composition) { composition.Components().Append
}
is working on a reply...