Try our conversational search powered by Generative AI!

Class CmsPolicyOptions

Option that specifies how CMS policies should be configured

Inheritance
System.Object
CmsPolicyOptions
Namespace: EPiServer.Authorization
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[Options(ConfigurationSection = "Cms")]
public class CmsPolicyOptions : Object

Constructors

CmsPolicyOptions()

Declaration
public CmsPolicyOptions()

Properties

AdminRoles

Specifies which roles should be added to policy CmsAdmin

Declaration
public IList<string> AdminRoles { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
Remarks

Default values are CmsAdmins

DefaultShellModuleRoles

Specifies which roles should be added to policy DefaultShellModule

Declaration
public IList<string> DefaultShellModuleRoles { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
Remarks

Default values are CmsAdmins and CmsEditors

EditRoles

Specifies which roles should be added to policy CmsEdit

Declaration
public IList<string> EditRoles { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
Remarks

Default values are CmsEditors, CmsAdmins

PreviewRoles

Specifies which roles should be added to policy Preview

Declaration
public IList<string> PreviewRoles { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
Remarks

In addition to this policy must user be granted access to the content item.

Default values are CmsEditors, CmsAdmins.

VisitorGroupAdminRoles

Specifies which roles should be added to policy VisitorGroupAdmin

Declaration
public IList<string> VisitorGroupAdminRoles { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
Remarks

Default values are VisitorGroupAdmins.

Extension Methods