Add OBS podcast ingestion and account withdrawal privacy controls

Support scoped RTMPS publishing through MediaMTX, authenticated replay, resource accounting and PostIt activation/revocation. Close withdrawn accounts, erase managed files and purge eligible payment residues after one year. Include migrations, documentation and regression tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Paul Schneider 2026-11-08 07:43:15 +00:00
commit b157dce4e4
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
54 changed files with 12996 additions and 50 deletions

View file

@ -74,7 +74,7 @@ namespace Yavsc.Services
var subjectId = GetSubjectId(context.Subject);
if (subjectId == null) return;
var user = await _userManager.FindByIdAsync(subjectId);
if (user == null) return;
if (user == null || user.WithdrawalRequestedAt is not null) return;
context.IssuedClaims = await GetClaimsFromUserAsync(context, user);
}
@ -87,7 +87,7 @@ namespace Yavsc.Services
return;
}
var user = await _userManager.FindByIdAsync(subjectId);
context.IsActive = user != null;
context.IsActive = user != null && user.WithdrawalRequestedAt is null;
}
private static string? GetSubjectId(ClaimsPrincipal claimsPrincipal)