summaryrefslogtreecommitdiff
path: root/Principal.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-09-28 03:14:35 +1000
committerJake Mannens <jake@asger.xyz>2023-09-28 03:14:35 +1000
commitbedcb6b176130fc2c6bd4657c8af4d407b64c970 (patch)
tree974a14bb03913e3a8083a633d9de61742c86e0a1 /Principal.cs
parentbc82b2dc2f7405c0fd4d179830412ea8209137b1 (diff)
Updated DB schema and configured ACLs to use SIDs
Diffstat (limited to 'Principal.cs')
-rw-r--r--Principal.cs6
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 {