@using BTCPayServer.Abstractions.Models @using BTCPayServer.Services.Stores @using BTCPayServer.Client @using Microsoft.AspNetCore.Mvc.TagHelpers @model StoreUsersViewModel @inject StoreRepository StoreRepository @{ var storeId = Model.StoreId; var roles = new SelectList( await StoreRepository.GetStoreRoles(storeId), nameof(StoreRepository.StoreRole.Id), nameof(StoreRepository.StoreRole.Role), Model.Role); ViewData.SetActivePage(StoreNavPages.Users, StringLocalizer["Store Users"], storeId); } @section PageHeadContent { }
@ViewLocalizer["Give other registered BTCPay Server users access to your store. See the {0} for granted permissions.", Html.ActionLink(StringLocalizer["roles"], "ListRoles", "UIStores", new { storeId })]
@if (!ViewContext.ModelState.IsValid) { }Name | Role | ||
---|---|---|---|
@user.Email | @user.Name | @user.Role |