wip: doctor/cli/docs/api to vector db consolidation; api hardening for descriptions, tenant, and scopes; migrations and conversions of all DALs to EF v10

This commit is contained in:
master
2026-02-23 15:30:50 +02:00
parent bd8fee6ed8
commit e746577380
1424 changed files with 81225 additions and 25251 deletions

View File

@@ -0,0 +1,17 @@
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
namespace StellaOps.VexHub.WebService.Security;
/// <summary>
/// Named authorization policy constants for the VexHub service.
/// VexHub uses API-key authentication. All VEX query endpoints require a valid,
/// authenticated API key. Scope enforcement is delegated to the API key configuration.
/// </summary>
internal static class VexHubPolicies
{
/// <summary>Policy for querying and reading VEX statements. Requires an authenticated API key.</summary>
public const string Read = "VexHub.Read";
/// <summary>Policy for administrative operations (ingestion, source management). Requires an authenticated API key with admin scope.</summary>
public const string Admin = "VexHub.Admin";
}