@using BTCPayServer.Abstractions.Models @using BTCPayServer.Services.Stores @using BTCPayServer.Abstractions.Contracts @using BTCPayServer.Client @using Microsoft.AspNetCore.Mvc.TagHelpers @model StoreUsersViewModel @inject StoreRepository StoreRepository @{ var storeId = Context.GetStoreData().Id; Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePage(StoreNavPages.Users, "Store Users", storeId); var roles = new SelectList( await StoreRepository.GetStoreRoles(storeId), nameof(StoreRepository.StoreRole.Id), nameof(StoreRepository.StoreRole.Role), Model.Role); } @section PageHeadContent { }
Give other registered BTCPay Server users access to your store. See the roles for granted permissions.
@if (!ViewContext.ModelState.IsValid) { }Role | Actions | |
---|---|---|
@user.Email | @user.Role |