diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-09-28 03:14:35 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-09-28 03:14:35 +1000 |
| commit | bedcb6b176130fc2c6bd4657c8af4d407b64c970 (patch) | |
| tree | 974a14bb03913e3a8083a633d9de61742c86e0a1 /Principal.cs | |
| parent | bc82b2dc2f7405c0fd4d179830412ea8209137b1 (diff) | |
Updated DB schema and configured ACLs to use SIDs
Diffstat (limited to 'Principal.cs')
| -rw-r--r-- | Principal.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Principal.cs b/Principal.cs index 18b82d0..553fbec 100644 --- a/Principal.cs +++ b/Principal.cs @@ -1,11 +1,13 @@ using Microsoft.EntityFrameworkCore; +using System.Security.Principal; namespace HyperBooru; [Index(nameof(Name))] public class HBPrincipal : HBObject { - public string Name { get; set; } - public List<Group> MemberOf { get; set; } + public string Name { get; set; } + public SecurityIdentifier Sid { get; set; } + public List<Group> MemberOf { get; set; } } public class User : HBPrincipal { |
