From bedcb6b176130fc2c6bd4657c8af4d407b64c970 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Thu, 28 Sep 2023 03:14:35 +1000 Subject: Updated DB schema and configured ACLs to use SIDs --- Principal.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Principal.cs') 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 MemberOf { get; set; } + public string Name { get; set; } + public SecurityIdentifier Sid { get; set; } + public List MemberOf { get; set; } } public class User : HBPrincipal { -- cgit v1.3