67798b35da06a1aaddb0191bcf5f12d18075e90c
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.
Description
No description provided
Languages
JavaScript
86%
C#
6.9%
HTML
2.8%
Visual Basic .NET
2.7%
CSS
1.2%
Other
0.4%