Table of Contents

Class RoleDefinition

Namespace
JD.AI.Core.Governance
Assembly
JD.AI.Core.dll

Defines what a named role is allowed or denied beyond the base policy.

public sealed class RoleDefinition
Inheritance
RoleDefinition
Inherited Members

Properties

AllowModels

Additional models allowed for this role.

public IList<string> AllowModels { get; set; }

Property Value

IList<string>

AllowProviders

Additional providers allowed for this role.

public IList<string> AllowProviders { get; set; }

Property Value

IList<string>

AllowTools

Additional tools allowed for this role (on top of base policy).

public IList<string> AllowTools { get; set; }

Property Value

IList<string>

DenyModels

Models denied for this role.

public IList<string> DenyModels { get; set; }

Property Value

IList<string>

DenyProviders

Providers denied for this role.

public IList<string> DenyProviders { get; set; }

Property Value

IList<string>

DenyTools

Tools explicitly denied for this role regardless of base policy.

public IList<string> DenyTools { get; set; }

Property Value

IList<string>

Inherits

Optional roles this role inherits from (additive).

public IList<string> Inherits { get; set; }

Property Value

IList<string>