mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 21:46:52 +01:00
Nullify PermissionSet
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.Models
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@@ -20,17 +18,17 @@ namespace Tgstation.Server.Host.Models
|
||||
/// <summary>
|
||||
/// The <see cref="Models.User"/> the <see cref="PermissionSet"/> belongs to, if it is for a <see cref="Models.User"/>.
|
||||
/// </summary>
|
||||
public User User { get; set; }
|
||||
public User? User { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="UserGroup"/> the <see cref="PermissionSet"/> belongs to, if it is for a <see cref="UserGroup"/>.
|
||||
/// </summary>
|
||||
public UserGroup Group { get; set; }
|
||||
public UserGroup? Group { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="InstancePermissionSet"/>s associated with the <see cref="PermissionSet"/>.
|
||||
/// </summary>
|
||||
public ICollection<InstancePermissionSet> InstancePermissionSets { get; set; }
|
||||
public ICollection<InstancePermissionSet>? InstancePermissionSets { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Convert the <see cref="PermissionSet"/> to it's API form.
|
||||
|
||||
Reference in New Issue
Block a user