Table of Contents

Class PluginPolicy

Namespace: Casewhere.Models
Assembly: Casewhere.Models.dll

Represents a plugin policy. Plugin security is vital. Casewhere executes plugins in a partially trusted AppDomain - separate from Casewhere's core - to mitigate the risk of plugins being exploited to execute malicious code. The 'Is Public' setting is optional because some plugins are too sensitive to be exposed to a web interface.

public class PluginPolicy

Inheritance

objectPluginPolicy

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<PluginPolicy>(PluginPolicy)

Constructors

PluginPolicy()

public PluginPolicy()

Properties

ErrorMessage

Gets or sets the error message associated with the plugin policy.

public string ErrorMessage { get; set; }

Property Value

string

Id

Gets or sets the ID of the plugin policy.

public Guid Id { get; set; }

Property Value

Guid

IsActive

Gets or sets a value indicating whether the plugin policy is active.

public bool IsActive { get; set; }

Property Value

bool

Methods

Gets or sets the methods associated with the plugin policy.

public string[] Methods { get; set; }

Property Value

string[]

Name

Gets or sets the name of the plugin policy.

public string Name { get; set; }

Property Value

string

Rule

Gets or sets the rule associated with the plugin policy.

public string Rule { get; set; }

Property Value

string

Scope

Gets or sets the scope of the plugin policy.

public PluginPolicyScope Scope { get; set; }

Property Value

PluginPolicyScope