Management UI for roles, users, tenants

This commit is contained in:
Shaun Walker
2019-09-30 23:50:10 -04:00
parent 7f6f9427e9
commit 4de8572a87
23 changed files with 902 additions and 124 deletions

View File

@ -24,6 +24,14 @@
<input class="form-control" @bind="@email" />
</td>
</tr>
<tr>
<td>
<label for="Name" class="control-label">Password: </label>
</td>
<td>
<input type="password" class="form-control" @bind="@password" />
</td>
</tr>
@foreach (Profile profile in profiles)
{
@ -58,6 +66,7 @@
string displayname = "";
string email = "";
string password = "";
List<Profile> profiles;
Dictionary<string, string> settings;
string category = "";
@ -96,6 +105,7 @@
User user = PageState.User;
user.DisplayName = displayname;
user.Email = email;
user.Password = password;
await UserService.UpdateUserAsync(user);
await SettingService.UpdateUserSettingsAsync(settings, PageState.User.UserId);