mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
27 lines
603 B
C#
27 lines
603 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer
|
|
{
|
|
public class StorePolicies
|
|
{
|
|
public const string CanAccessStores = "CanAccessStore";
|
|
public const string OwnStore = "OwnStore";
|
|
}
|
|
public class StoreRoles
|
|
{
|
|
public const string Owner = "Owner";
|
|
public const string Guest = "Guest";
|
|
public static IEnumerable<String> AllRoles
|
|
{
|
|
get
|
|
{
|
|
yield return Owner;
|
|
yield return Guest;
|
|
}
|
|
}
|
|
}
|
|
}
|