Cancel save in IContentSecurityRepository.ContentSecuritySaved


We would like to add validation when saving ACL for content. We have a specific pagetype that should NOT have read access for "Everyone", which editors from time to time set by accident.

We added validation to the publish event of the page type, this has made problem smaller, but it is still possible to change the security settings after the page has been published.

I cannot find any way to cancel the save event or add validation to the ContentSecuritySaved method in IContentSecurityRepository?

May 15, 2017 11:59

That event is typically used when indexing content to Find so probably not a way to cancel in there. This event should work though if you're on that version or later:

May 17, 2017 22:29

Cool, thanks! :)

May 18, 2017 9:19
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.