From 4fd49c1081d10ed7457a9bec41046ceca1d2a4a4 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Wed, 4 Apr 2018 15:38:09 -0400 Subject: [PATCH] Last of API model definitions? --- .../Models/InstanceUser.cs | 29 ++++++++++++++----- src/Tgstation.Server.Api/Models/User.cs | 6 ++++ 2 files changed, 28 insertions(+), 7 deletions(-) diff --git a/src/Tgstation.Server.Api/Models/InstanceUser.cs b/src/Tgstation.Server.Api/Models/InstanceUser.cs index 7218e9e344..5fe1cfd480 100644 --- a/src/Tgstation.Server.Api/Models/InstanceUser.cs +++ b/src/Tgstation.Server.Api/Models/InstanceUser.cs @@ -14,19 +14,34 @@ namespace Tgstation.Server.Api.Models [Permissions(DenyWrite = true)] public long Id { get; set; } - /// - /// The of the - /// - public ByondRights ByondRights { get; set; } + /// + /// The of the + /// + public ByondRights ByondRights { get; set; } /// - /// The of the + /// The of the /// public DreamDaemonRights DreamDaemonRights { get; set; } /// - /// The of the + /// The of the + /// + public DreamMakerRights DreamMakerRights { get; set; } + + /// + /// The of the /// public RepositoryRights RepositoryRights { get; set; } - } + + /// + /// The of the + /// + public ChatRights ChatRights { get; set; } + + /// + /// If the may use the remote configuration feature + /// + public bool ConfigurationAccess { get; set; } + } } diff --git a/src/Tgstation.Server.Api/Models/User.cs b/src/Tgstation.Server.Api/Models/User.cs index d50666fd50..fe50e0bc77 100644 --- a/src/Tgstation.Server.Api/Models/User.cs +++ b/src/Tgstation.Server.Api/Models/User.cs @@ -14,6 +14,12 @@ namespace Tgstation.Server.Api.Models [Permissions(DenyWrite = true)] public long Id { get; set; } + /// + /// The SID/UID of the on Windows/POSIX respectively + /// + [Permissions(DenyWrite = true)] + public string SystemId { get; set; } + /// /// The name of the ///