Class RoleDefinition
- Assembly
- FoundationaLLM.Common.dll
Defines a security role used in FoundationaLLM RBAC
public class RoleDefinition : ResourceBase
- Inheritance
-
RoleDefinition
- 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
Deleted
Indicates whether the resource has been logically deleted.
[JsonIgnore]
public override bool Deleted { get; set; }
Property Value
Permissions
The permissions associated with the security role definition.
[JsonPropertyName("permissions")]
[JsonPropertyOrder(2)]
public List<RoleDefinitionPermissions> Permissions { get; set; }
Property Value
Methods
GetAllowedActions()
public List<string> GetAllowedActions()