mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 15:37:23 +01:00
* add jwt expiry * update api * merge * start rework permissions * ok so in theory this compiles * make it work I guess * reuse some permissions * fix intermediate connectivity issues * fixes * whatever * some fixes I guess * fix some stuff * idk some random fixes I guess * change some defaults * update nuget * adjust order of operations * adjust deletion of account * remove todo --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
18 lines
560 B
C#
18 lines
560 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
|
|
namespace MareSynchronosShared.Models;
|
|
|
|
public class UserPermissionSet
|
|
{
|
|
[NotNull]
|
|
public string UserUID { get; set; }
|
|
public User User { get; set; }
|
|
[NotNull]
|
|
public string OtherUserUID { get; set; }
|
|
public User OtherUser { get; set; }
|
|
public bool Sticky { get; set; } = false;
|
|
public bool IsPaused { get; set; } = false;
|
|
public bool DisableAnimations { get; set; } = false;
|
|
public bool DisableVFX { get; set; } = false;
|
|
public bool DisableSounds { get; set; } = false;
|
|
}
|