Skip to content

Instantly share code, notes, and snippets.

@trnktms
Last active February 14, 2023 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trnktms/117d7b485b1f2d72e58479c426868bb2 to your computer and use it in GitHub Desktop.
Save trnktms/117d7b485b1f2d72e58479c426868bb2 to your computer and use it in GitHub Desktop.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:localenv="http://www.sitecore.net/xmlconfig/localenv/">
<sitecore role:require="ContentManagement or Standalone">
<events>
<event name="item:saved">
<handler type="Feature.EventHandlers.ClearAccessResultCache, Feature" method="OnItemSaved" role:require="ContentManagement or Standalone"/>
</event>
</events>
<authorization>
<providers>
<add name="custom" type="Sitecore.Buckets.Security.BucketAuthorizationProvider, Sitecore.Buckets" connectionStringName="security" embedAclInItems="true">
<patch:attribute name="type">Feature.Providers.ItemAccessibility.CustomAuthorizationProvider, Feature</patch:attribute>
</add>
</providers>
</authorization>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment