mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-04 20:42:09 +00:00
chore(uplifts): drop ticket key from source comments
This commit is contained in:
parent
26b4aaf1b2
commit
1e2f39a5fa
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ using Xunit;
|
||||||
|
|
||||||
namespace Api.SeaHavenIndustries.Tests;
|
namespace Api.SeaHavenIndustries.Tests;
|
||||||
|
|
||||||
// SH-327: Admin passes every permission check regardless of stored configuration.
|
// Admin passes every permission check regardless of stored configuration.
|
||||||
// Uplift approval authority is otherwise driven by Approvals:Tier1Roles/Tier2Roles,
|
// Uplift approval authority is otherwise driven by Approvals:Tier1Roles/Tier2Roles,
|
||||||
// which may be empty in a deployed environment; Admin must still be able to decide.
|
// which may be empty in a deployed environment; Admin must still be able to decide.
|
||||||
public sealed class UpliftAdminApprovalTests
|
public sealed class UpliftAdminApprovalTests
|
||||||
|
|
|
||||||
|
|
@ -335,7 +335,7 @@ namespace SeaHaven.Services.Implementation
|
||||||
return UpliftEvidenceDownloadResultDTO.Ok(content, evidence.ContentType ?? "application/octet-stream", evidence.OriginalFileName ?? "evidence");
|
return UpliftEvidenceDownloadResultDTO.Ok(content, evidence.ContentType ?? "application/octet-stream", evidence.OriginalFileName ?? "evidence");
|
||||||
}
|
}
|
||||||
|
|
||||||
// SH-327: Admin passes every permission check regardless of stored configuration,
|
// Admin passes every permission check regardless of stored configuration,
|
||||||
// so the tier-role lists only govern non-Admin approvers.
|
// so the tier-role lists only govern non-Admin approvers.
|
||||||
private bool UserCanApprove(ClaimsPrincipal user, int requiredTier)
|
private bool UserCanApprove(ClaimsPrincipal user, int requiredTier)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue