mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 16:11:05 +01:00
Last of API model definitions?
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user