-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScope.php
More file actions
144 lines (116 loc) · 3.3 KB
/
Scope.php
File metadata and controls
144 lines (116 loc) · 3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?php
namespace Own3d\Id\Enums;
/**
* @author René Preuß <rene.p@own3d.tv>
*/
class Scope
{
/**
* View a user's academic information.
*/
public const ACADEMY_READ = 'academy:read';
/**
* Manage a user's academic information.
*/
public const ACADEMY_MANAGE = 'academy:manage';
/**
* Manage a user's OWN3D Pro & Free Alerts Extension alerts.
*/
public const ALERTS_MANAGE = 'alerts:manage';
/**
* Manage a user's affiliate configuration.
*/
public const AFFILIATE_MANAGE = 'affiliate:manage';
/**
* View a user's analytics data.
*/
public const ANALYTICS_READ = 'analytics:read';
/**
* View a user's chatbot configurations.
*/
public const CHATBOT_READ = 'chatbot:read';
/**
* Manage a user's chatbot configuration, like commands, moderation, timers, giveaways.
*/
public const CHATBOT_MANAGE = 'chatbot:manage';
/**
* Manage a user's chatbot commands configuration.
*/
public const CHATBOT_MANAGE_COMMANDS = 'chatbot:manage:commands';
/**
* Manage a user's chatbot moderation configuration.
*/
public const CHATBOT_MANAGE_MODERATION = 'chatbot:manage:moderation';
/**
* Manage a user's chatbot timers configuration.
*/
public const CHATBOT_MANAGE_TIMERS = 'chatbot:manage:timers';
/**
* Manage a user's chatbot giveaways configuration.
*/
public const CHATBOT_MANAGE_GIVEAWAYS = 'chatbot:manage:giveaways';
/**
* View a user's connected social accounts, like twitch, discord, etc.
*/
public const CONNECTIONS = 'connections';
/**
* View a user's donations.
*/
public const DONATIONS_READ = 'donations:read';
/**
* Manage a user's donations.
*/
public const DONATIONS_MANAGE = 'donations:manage';
/**
* View a user's entitlements aka. purchased products.
*/
public const ENTITLEMENTS_READ = 'entitlements:read';
/**
* View a user's OWN3D extensions.
*/
public const EXTENSIONS_READ = 'extensions:read';
/**
* Manage a user's OWN3D extensions (eg. change configurations).
*/
public const EXTENSIONS_MANAGE = 'extensions:manage';
/**
* Manage a user's linkspree.
*/
public const LINKSPREE_MANAGE = 'linkspree:manage';
/**
* View a user's OWN3D & OWN3D Pro orders.
*/
public const ORDERS_READ = 'orders:read';
/**
* Manage a user's OWN3D & OWN3D Pro orders, like refund.
*/
public const ORDERS_MANAGE = 'orders:manage';
/**
* View a user's OWN3D Pro subscription.
*/
public const SUBSCRIPTION_READ = 'subscription:read';
/**
* View a user's information.
*/
public const USER_READ = 'user:read';
/**
* Manage a user's information, like name.
*/
public const USER_MANAGE = 'user:manage';
/**
* Manage a user's credentials, like email, password or even connections.
*/
public const USER_MANAGE_CREDENTIALS = 'user:manage:credentials';
/**
* Manage a user's OWN3D Pro widgets.
*/
public const WIDGETS_MANAGE = 'widgets:manage';
/**
* Use MCP server
*/
public const MCP_USE = 'mcp:use';
/**
* Manage a user's codespace
*/
public const CODESPACES_USE = 'codespaces:manage';
}