Finish up some todos

This commit is contained in:
Cyberboss
2018-04-04 16:05:20 -04:00
parent 2afa64df98
commit 9ce1229b5d
3 changed files with 6 additions and 6 deletions
@@ -40,8 +40,8 @@ namespace Tgstation.Server.Api.Models
public ChatRights ChatRights { get; set; }
/// <summary>
/// If the <see cref="InstanceUser"/> may use the remote configuration feature
/// The <see cref="Rights.ConfigurationRights"/> of the <see cref="InstanceUser"/>
/// </summary>
public bool ConfigurationAccess { get; set; }
public ConfigurationRights ConfigurationRights { get; set; }
}
}
@@ -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) }
};
@@ -35,11 +35,11 @@
/// </summary>
DreamDaemon,
/// <summary>
/// TODO
/// <see cref="ChatRights"/>
/// </summary>
Chat,
/// <summary>
/// TODO
/// <see cref="ConfigurationRights"/>
/// </summary>
Configuration,
/// <summary>