Skip to content

Instantly share code, notes, and snippets.

@alasvant
Created July 6, 2020 16:27
Show Gist options
  • Save alasvant/d73d17a4734b234c6cafbba8f58601af to your computer and use it in GitHub Desktop.
Save alasvant/d73d17a4734b234c6cafbba8f58601af to your computer and use it in GitHub Desktop.
Custom ContentSecurityActionType used in sample code about custom Episerver activity.
namespace EpiAuditLogging.Web.Features.AuditLogging
{
/// <summary>
/// Content security action type (maps directly to <see cref="EPiServer.Security.SecuritySaveType"/>).
/// </summary>
public enum ContentSecurityActionType
{
// same as EPiServer.Security.SecuritySaveType
None = 0,
RecursiveReplace = 1,
RecursiveModify = 2,
Modify = 3,
Replace = 4,
ReplaceChildPermissions = 5,
MergeChildPermissions = 6
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment