mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* Adapt cookie auth to work with same API permission system * Handle unscoped store permission case * Do not consider Unscoped as a valid policy * Add tests * Refactor permissions scopes --------- Co-authored-by: Dennis Reimann <mail@dennisreimann.de> Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
10 lines
283 B
C#
10 lines
283 B
C#
using Microsoft.AspNetCore.Authorization;
|
|
|
|
namespace BTCPayServer.Models.AccountViewModels
|
|
{
|
|
public class CheatPermissionsViewModel
|
|
{
|
|
public string StoreId { get; internal set; }
|
|
public (string, AuthorizationResult Result)[] Permissions { get; set; }
|
|
}
|
|
}
|