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:
@@ -0,0 +1,16 @@
|
||||
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
|
||||
|
||||
namespace StellaOps.Timeline.WebService.Security;
|
||||
|
||||
/// <summary>
|
||||
/// Named authorization policy constants for the Timeline service.
|
||||
/// Policies are registered via AddStellaOpsScopePolicy in Program.cs.
|
||||
/// </summary>
|
||||
internal static class TimelinePolicies
|
||||
{
|
||||
/// <summary>Policy for reading timeline events and replay status. Requires timeline:read scope.</summary>
|
||||
public const string Read = "Timeline.Read";
|
||||
|
||||
/// <summary>Policy for exporting and triggering replay operations. Requires timeline:write scope.</summary>
|
||||
public const string Write = "Timeline.Write";
|
||||
}
|
||||
Reference in New Issue
Block a user