mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 20:07:22 +01:00
Mare 0.9 (#27)
* 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>
This commit is contained in:
parent
2c9d432fed
commit
302e6ffb62
39 changed files with 3564 additions and 454 deletions
|
|
@ -0,0 +1,18 @@
|
|||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue