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
AllowProviders
Additional providers allowed for this role.
public IList<string> AllowProviders { get; set; }
Property Value
AllowTools
Additional tools allowed for this role (on top of base policy).
public IList<string> AllowTools { get; set; }
Property Value
DenyModels
Models denied for this role.
public IList<string> DenyModels { get; set; }
Property Value
DenyProviders
Providers denied for this role.
public IList<string> DenyProviders { get; set; }
Property Value
DenyTools
Tools explicitly denied for this role regardless of base policy.
public IList<string> DenyTools { get; set; }
Property Value
Inherits
Optional roles this role inherits from (additive).
public IList<string> Inherits { get; set; }