Put roles into endpoints
This commit is contained in:
@@ -11,7 +11,8 @@ public class PatchSettingElectronicSignatureEndpoint(SettingsRepository settings
|
||||
{
|
||||
Patch("/settings/electronicSignature");
|
||||
AllowFormData();
|
||||
AllowAnonymous();
|
||||
Roles("Admin");
|
||||
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(PatchSettingElectronicSignatureDto req, CancellationToken ct)
|
||||
|
||||
Reference in New Issue
Block a user