tgstation-server 6.12.3
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ChatBotRights.cs
Go to the documentation of this file.
1using System;
2
4{
8 [Flags]
9 public enum ChatBotRights : ulong
10 {
14 None = 0,
15
19 WriteEnabled = 1 << 0,
20
24 WriteProvider = 1 << 1,
25
29 WriteChannels = 1 << 2,
30
34 WriteConnectionString = 1 << 3,
35
39 ReadConnectionString = 1 << 4,
40
44 Read = 1 << 5,
45
49 Create = 1 << 6,
50
54 Delete = 1 << 7,
55
59 WriteName = 1 << 8,
60
65
69 WriteChannelLimit = 1 << 10,
70 }
71}
ChatBotRights
Rights for chat bots.
@ ReadConnectionString
User can read Models.Internal.ChatBotSettings.ConnectionString requires the Read permission.
@ WriteProvider
User can change Models.Internal.ChatBotSettings.Provider.
@ WriteChannels
User can change Models.Internal.ChatBotApiBase.Channels.
@ WriteEnabled
User can change Models.Internal.ChatBotSettings.Enabled.
@ WriteConnectionString
User can change Models.Internal.ChatBotSettings.ConnectionString.
@ WriteReconnectionInterval
User can change Models.Internal.ChatBotSettings.ReconnectionInterval.
@ Create
User can create new chat bots.
@ WriteChannelLimit
User can change Models.Internal.ChatBotSettings.ChannelLimit.
@ Read
User can read all chat bot properties except Models.Internal.ChatBotSettings.ConnectionString.
@ WriteName
User can change Models.NamedEntity.Name.
@ Delete
User can delete chat bots.
@ List
User may list files if the Models.Instance allows it.