feat: add audited one-shot prepare gate
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#nullable enable
|
||||
|
||||
namespace MBN_STOCK_WEBVIEW.Infrastructure.Tests;
|
||||
|
||||
internal sealed class DenyAllDatabaseMutationAuthorization
|
||||
: IDatabaseMutationAuthorization
|
||||
{
|
||||
internal List<DatabaseMutationAuthorizationRequest> Requests { get; } = [];
|
||||
|
||||
public bool IsAuthorized(DatabaseMutationAuthorizationRequest request)
|
||||
{
|
||||
Requests.Add(request);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user