Skip to content
Tracon

TraconRoleMeta

Namespace Tracon · Assembly Tracon.AspNetCore.dll

Reports which role levels the current request’s caller satisfies.

public sealed record TraconRoleMeta : IEquatable<TraconRoleMeta>

objectTraconRoleMeta

IEquatable<TraconRoleMeta>

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

The UI uses this field to hide edit buttons the caller has no permission for; server-side authorization is still the only source of truth, this field is not a security measure. If the corresponding role policy (TraconPolicies) is not registered in the consumer’s authorization configuration, the corresponding field returns true: there is no role restriction, the endpoint only passes through the existing three-layer protection.

public TraconRoleMeta()

Whether the caller may write agent definitions, add MCP servers, and manage tenants and audit trails.

public required bool CanAdminister { get; init; }

bool

Whether the caller may, in addition to Reader, start runs, give approvals, and delete sessions.

public required bool CanOperate { get; init; }

bool

Whether the caller may read agents, runs, sessions, traces, and statistics.

public required bool CanRead { get; init; }

bool

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(TraconRoleMeta? other)

other TraconRoleMeta?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(TraconRoleMeta?, TraconRoleMeta?)

Section titled “ operator ==(TraconRoleMeta?, TraconRoleMeta?)”
public static bool operator ==(TraconRoleMeta? left, TraconRoleMeta? right)

left TraconRoleMeta?

right TraconRoleMeta?

bool

operator !=(TraconRoleMeta?, TraconRoleMeta?)

Section titled “ operator !=(TraconRoleMeta?, TraconRoleMeta?)”
public static bool operator !=(TraconRoleMeta? left, TraconRoleMeta? right)

left TraconRoleMeta?

right TraconRoleMeta?

bool