Last of API model definitions?

This commit is contained in:
Cyberboss
2018-04-04 15:38:09 -04:00
parent 63f53e1bb7
commit 4fd49c1081
2 changed files with 28 additions and 7 deletions
@@ -14,19 +14,34 @@ namespace Tgstation.Server.Api.Models
[Permissions(DenyWrite = true)]
public long Id { get; set; }
/// <summary>
/// The <see cref="ByondRights"/> of the <see cref="InstanceUser"/>
/// </summary>
public ByondRights ByondRights { get; set; }
/// <summary>
/// The <see cref="Rights.ByondRights"/> of the <see cref="InstanceUser"/>
/// </summary>
public ByondRights ByondRights { get; set; }
/// <summary>
/// The <see cref="DreamDaemonRights"/> of the <see cref="InstanceUser"/>
/// The <see cref="Rights.DreamDaemonRights"/> of the <see cref="InstanceUser"/>
/// </summary>
public DreamDaemonRights DreamDaemonRights { get; set; }
/// <summary>
/// The <see cref="RepositoryRights"/> of the <see cref="InstanceUser"/>
/// The <see cref="Rights.DreamMakerRights"/> of the <see cref="InstanceUser"/>
/// </summary>
public DreamMakerRights DreamMakerRights { get; set; }
/// <summary>
/// The <see cref="Rights.RepositoryRights"/> of the <see cref="InstanceUser"/>
/// </summary>
public RepositoryRights RepositoryRights { get; set; }
}
/// <summary>
/// The <see cref="Rights.ChatRights"/> of the <see cref="InstanceUser"/>
/// </summary>
public ChatRights ChatRights { get; set; }
/// <summary>
/// If the <see cref="InstanceUser"/> may use the remote configuration feature
/// </summary>
public bool ConfigurationAccess { get; set; }
}
}
+6
View File
@@ -14,6 +14,12 @@ namespace Tgstation.Server.Api.Models
[Permissions(DenyWrite = true)]
public long Id { get; set; }
/// <summary>
/// The SID/UID of the <see cref="User"/> on Windows/POSIX respectively
/// </summary>
[Permissions(DenyWrite = true)]
public string SystemId { get; set; }
/// <summary>
/// The name of the <see cref="User"/>
/// </summary>