mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* Admin overview of the stores on the instance POC/Draft for #5674. * Enable admin to access foreign stores * Remove stores list link * UI updates * Grant admins guest access to foreign stores * Optimize cookie auth handler * Test fix * Revert changes related to StoreRepository.FindStore with isAdmin
18 lines
476 B
C#
18 lines
476 B
C#
using System.Collections.Generic;
|
|
using BTCPayServer.Data;
|
|
|
|
namespace BTCPayServer.Models.StoreViewModels;
|
|
|
|
public class ListStoresViewModel
|
|
{
|
|
public class StoreViewModel
|
|
{
|
|
public string StoreName { get; set; }
|
|
public string StoreId { get; set; }
|
|
public bool Archived { get; set; }
|
|
public List<UserStore> Users { get; set; }
|
|
}
|
|
|
|
public List<StoreViewModel> Stores { get; set; } = new ();
|
|
public bool Archived { get; set; }
|
|
}
|