November Happy Hour will be moved to Thursday December 5th.

Detect when access permissions change

Vote:
 

Is there a event that fires when access permissions for a page is changed? I have search high and low for days now and is starting to give up...

#133250
Aug 31, 2015 8:31
Vote:
 

There isn't, as far as I know. EPiServer Find, which is "event driven", doesn't even pick up permission changes.

#133256
Aug 31, 2015 10:44
Vote:
 

Hi,

I never used this, but In EPiServer 7/8, there is IContentSecurityRepository interface. The instance is available under ServiceLocator.

This interface is used by IContentSecurityDescriptorExtensions to save the access rights.

It expose public event ContentSecuritySaved.

ServiceLocator.Current.GetInstance<IContentSecurityRepository>().ContentSecuritySaved += .......

Maybe there is something similar in EPi 6 (like DataFactory could implement same event).

#133259
Aug 31, 2015 14:38
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.