Table of Contents

Class PolicyDefinition

Namespace
FoundationaLLM.Common.Models.Authorization
Assembly
FoundationaLLM.Common.dll

Defines a security policy used in FoundationaLLM PBAC

public class PolicyDefinition : ResourceBase
Inheritance
PolicyDefinition
Inherited Members
Extension Methods

Properties

AssignableScopes

The list of scopes at which the role can be assigned.

[JsonPropertyName("assignable_scopes")]
[JsonPropertyOrder(1)]
public List<string> AssignableScopes { get; set; }

Property Value

List<string>

Deleted

Indicates whether the resource has been logically deleted.

[JsonIgnore]
public override bool Deleted { get; set; }

Property Value

bool

MatchingStrategy

Gets or sets the PolicyMatchingStrategy value defining how the policy should be matched.

[JsonPropertyName("matching_strategy")]
[JsonPropertyOrder(2)]
public required PolicyMatchingStrategy MatchingStrategy { get; set; }

Property Value

PolicyMatchingStrategy