tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
InstanceManagerRights.cs
Go to the documentation of this file.
1using System;
2
4{
8 [Flags]
9 public enum InstanceManagerRights : ulong
10 {
14 None = 0,
15
19 Read = 1 << 0,
20
24 Create = 1 << 1,
25
29 Rename = 1 << 2,
30
34 Relocate = 1 << 3,
35
39 SetOnline = 1 << 4,
40
44 Delete = 1 << 5,
45
49 List = 1 << 6,
50
54 SetConfiguration = 1 << 7,
55
59 SetAutoUpdate = 1 << 8,
60
64 SetChatBotLimit = 1 << 9,
65
69 GrantPermissions = 1 << 10,
70
74 SetAutoStart = 1 << 11,
75
79 SetAutoStop = 1 << 12,
80 }
81}
@ Create
User can create new chat bots.
@ Read
User can read all chat bot properties except Models.Internal.ChatBotSettings.ConnectionString.
@ Delete
User can delete chat bots.
@ List
User may list files if the Models.Instance allows it.
@ SetAutoStart
User can change Models.Internal.DreamDaemonSettings.AutoStart.
InstanceManagerRights
Rights for managing Models.Instances.
@ SetConfiguration
User can change Models.Instance.ConfigurationType on instances they can view.
@ SetAutoUpdate
User can change Models.Instance.AutoUpdateInterval on instances they can view.
@ SetOnline
User can online Models.Instances they can view.
@ GrantPermissions
User can give themselves or their group full InstancePermissionSetRights on ALL instances.
@ Rename
User can rename Models.Instances they can view.
@ SetChatBotLimit
User can change Models.Instance.ChatBotLimit on instances they can view.
@ Relocate
User can relocate Models.Instances they can view.
@ SetAutoStop
User can change Models.Instance.AutoStopCron.