TekH 67798b35da Simplify GetDocument authorization logic
Refactor `DocumentController.GetDocument` to exclusively support the "Sender" role by removing logic for the "Receiver" role. Update the `[Authorize]` attribute to enforce the `AuthPolicy.Sender` policy instead of `AuthPolicy.SenderOrReceiver`.

Remove the `AuthPolicy.SenderOrReceiver` policy from `Program.cs` authorization configuration, reflecting the decision to separate role-based access more explicitly. The application now defines distinct policies for "Sender" and "Receiver" roles without combining them.
2026-06-25 15:18:20 +02:00
2025-03-28 15:12:26 +01:00
Description
No description provided
186 MiB
Languages
JavaScript 82.6%
C# 8.4%
HTML 4.5%
Visual Basic .NET 2.6%
CSS 1.4%
Other 0.4%