diff options
author | crupest <crupest@outlook.com> | 2020-11-22 09:53:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-22 09:53:31 +0800 |
commit | ef9489a8c1084d33796da366c685bc24550eafbd (patch) | |
tree | 59227246f0964dcdc9b735d64a0397a9dd3a58bf /BackEnd/Timeline/Models/Http/UserInfo.cs | |
parent | ffa5d76316ccec4edc307d0432ef10fb18436c63 (diff) | |
parent | f451000f281a4c9c44caf4dc835d3b2fdb55fa81 (diff) | |
download | timeline-ef9489a8c1084d33796da366c685bc24550eafbd.tar.gz timeline-ef9489a8c1084d33796da366c685bc24550eafbd.tar.bz2 timeline-ef9489a8c1084d33796da366c685bc24550eafbd.zip |
Merge pull request #189 from crupest/admin
Refactor front end to use the new permission system. Enhance admin page.
Diffstat (limited to 'BackEnd/Timeline/Models/Http/UserInfo.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Http/UserInfo.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/BackEnd/Timeline/Models/Http/UserInfo.cs b/BackEnd/Timeline/Models/Http/UserInfo.cs index 26b04e90..0f865172 100644 --- a/BackEnd/Timeline/Models/Http/UserInfo.cs +++ b/BackEnd/Timeline/Models/Http/UserInfo.cs @@ -25,10 +25,6 @@ namespace Timeline.Models.Http /// Nickname.
/// </summary>
public string Nickname { get; set; } = default!;
- /// <summary>
- /// True if the user is a administrator.
- /// </summary>
- public bool? Administrator { get; set; } = default!;
#pragma warning disable CA2227 // Collection properties should be read only
/// <summary>
/// The permissions of the user.
|