consolidation of some of the modules, localization fixes, product advisories work, qa work
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) StellaOps. Licensed under the BUSL-1.1.
|
||||
|
||||
namespace StellaOps.Scheduler.WebService.Security;
|
||||
|
||||
/// <summary>
|
||||
/// Named authorization policy constants for the Scheduler service.
|
||||
/// Policies are registered via AddStellaOpsScopePolicy in Program.cs.
|
||||
/// </summary>
|
||||
internal static class SchedulerPolicies
|
||||
{
|
||||
/// <summary>Policy for read-only access to Scheduler job state and history. Requires scheduler:read scope.</summary>
|
||||
public const string Read = "scheduler.read";
|
||||
|
||||
/// <summary>Policy for operating Scheduler jobs (pause, resume, trigger). Requires scheduler:operate scope.</summary>
|
||||
public const string Operate = "scheduler.operate";
|
||||
|
||||
/// <summary>Policy for administrative control over Scheduler configuration. Requires scheduler:admin scope.</summary>
|
||||
public const string Admin = "scheduler.admin";
|
||||
}
|
||||
Reference in New Issue
Block a user