mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
23 lines
306 B
Text
23 lines
306 B
Text
|
@model CheatPermissionsViewModel
|
||
|
|
||
|
@{
|
||
|
ViewData["Title"] = "Permissions";
|
||
|
Layout = "_LayoutSignedOut";
|
||
|
}
|
||
|
|
||
|
@if (Model.StoreId is not null)
|
||
|
{
|
||
|
<h1>Store: @Model.StoreId</h1>
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
<h1>No scope</h1>
|
||
|
}
|
||
|
|
||
|
<ul>
|
||
|
@foreach (var p in Model.Permissions.Where(o => o.Result.Succeeded))
|
||
|
{
|
||
|
<li>@p.Item1</li>
|
||
|
}
|
||
|
</ul>
|