From 9ce1229b5dafd69eebe9e0747b71c7751e4c0922 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Wed, 4 Apr 2018 16:05:20 -0400 Subject: [PATCH] Finish up some todos --- src/Tgstation.Server.Api/Models/InstanceUser.cs | 4 ++-- src/Tgstation.Server.Api/Rights/RightsHelper.cs | 4 ++-- src/Tgstation.Server.Api/Rights/RightsType.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Tgstation.Server.Api/Models/InstanceUser.cs b/src/Tgstation.Server.Api/Models/InstanceUser.cs index 5fe1cfd480..a3e31e1dad 100644 --- a/src/Tgstation.Server.Api/Models/InstanceUser.cs +++ b/src/Tgstation.Server.Api/Models/InstanceUser.cs @@ -40,8 +40,8 @@ namespace Tgstation.Server.Api.Models public ChatRights ChatRights { get; set; } /// - /// If the may use the remote configuration feature + /// The of the /// - public bool ConfigurationAccess { get; set; } + public ConfigurationRights ConfigurationRights { get; set; } } } diff --git a/src/Tgstation.Server.Api/Rights/RightsHelper.cs b/src/Tgstation.Server.Api/Rights/RightsHelper.cs index b6986341f8..1dcefa440e 100644 --- a/src/Tgstation.Server.Api/Rights/RightsHelper.cs +++ b/src/Tgstation.Server.Api/Rights/RightsHelper.cs @@ -21,8 +21,8 @@ namespace Tgstation.Server.Api.Rights { RightsType.Byond, typeof(ByondRights) }, { RightsType.DreamMaker, typeof(DreamMakerRights) }, { RightsType.DreamDaemon, typeof(DreamDaemonRights) }, - { RightsType.Chat, null }, //TODO - { RightsType.Configuration, null }, //TODO + { RightsType.Chat, typeof(ChatRights) }, + { RightsType.Configuration, typeof(ConfigurationRights) }, { RightsType.InstanceUser, typeof(InstanceUserRights) } }; diff --git a/src/Tgstation.Server.Api/Rights/RightsType.cs b/src/Tgstation.Server.Api/Rights/RightsType.cs index 76918983de..b2659f8817 100644 --- a/src/Tgstation.Server.Api/Rights/RightsType.cs +++ b/src/Tgstation.Server.Api/Rights/RightsType.cs @@ -35,11 +35,11 @@ /// DreamDaemon, /// - /// TODO + /// /// Chat, /// - /// TODO + /// /// Configuration, ///