You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/scopes.rs
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -84,13 +84,16 @@ scope_impls!(
84
84
ChannelEditCommercial, scope:"channel:edit:commercial", doc:"Run commercials on a channel.";
85
85
ChannelManageBroadcast, scope:"channel:manage:broadcast", doc:"Manage a channel’s broadcast configuration, including updating channel configuration and managing stream markers and stream tags.";
86
86
ChannelManageExtensions, scope:"channel:manage:extensions", doc:"Manage a channel’s Extension configuration, including activating Extensions.";
87
+
ChannelManageModerators, scope:"channel:manage:moderators", doc:"Add or remove the moderator role from users in your channel.";
87
88
ChannelManagePolls, scope:"channel:manage:polls", doc:"Manage a channel’s polls.";
88
89
ChannelManagePredictions, scope:"channel:manage:predictions", doc:"Manage of channel’s Channel Points Predictions";
89
-
ChannelManageRaids, scope:"channel:manage:raids", doc:"Manage a Channel’s raids.";
90
+
ChannelManageRaids, scope:"channel:manage:raids", doc:"Manage a channel raiding another channel.";
90
91
ChannelManageRedemptions, scope:"channel:manage:redemptions", doc:"Manage Channel Points custom rewards and their redemptions on a channel.";
91
92
ChannelManageSchedule, scope:"channel:manage:schedule", doc:"Manage a channel’s stream schedule.";
92
93
ChannelManageVideos, scope:"channel:manage:videos", doc:"Manage a channel’s videos, including deleting videos.";
94
+
ChannelManageVips, scope:"channel:manage:vips", doc:"Add or remove the VIP role from users in your channel.";
93
95
ChannelModerate, scope:"channel:moderate", doc:"Perform moderation actions in a channel. The user requesting the scope must be a moderator in the channel.";
96
+
ChannelReadCharity, scope:"channel:read:charity", doc:"Read charity campaign details and user donations on your channel.";
94
97
ChannelReadEditors, scope:"channel:read:editors", doc:"View a list of users with the editor role for a channel.";
95
98
ChannelReadGoals, scope:"channel:read:goals", doc:"View Creator Goals for a channel.";
96
99
ChannelReadHypeTrain, scope:"channel:read:hype_train", doc:"View Hype Train information for a channel.";
@@ -99,26 +102,31 @@ scope_impls!(
99
102
ChannelReadRedemptions, scope:"channel:read:redemptions", doc:"View Channel Points custom rewards and their redemptions on a channel.";
100
103
ChannelReadStreamKey, scope:"channel:read:stream_key", doc:"View an authorized user’s stream key.";
101
104
ChannelReadSubscriptions, scope:"channel:read:subscriptions", doc:"View a list of all subscribers to a channel and check if a user is subscribed to a channel.";
105
+
ChannelReadVips, scope:"channel:read:vips", doc:"Read the list of VIPs in your channel.";
102
106
ChannelSubscriptions, scope:"channel_subscriptions", doc:"\\[DEPRECATED\\] Read all subscribers to your channel.";
103
107
ChatEdit, scope:"chat:edit", doc:"Send live stream chat and rooms messages.";
104
108
ChatRead, scope:"chat:read", doc:"View live stream chat and rooms messages.";
105
109
ClipsEdit, scope:"clips:edit", doc:"Manage Clips for a channel.";
106
110
ModerationRead, scope:"moderation:read", doc:"View a channel’s moderation data including Moderators, Bans, Timeouts, and Automod settings.";
111
+
ModeratorManageAnnouncements, scope:"moderator:manage:announcements", doc:"Send announcements in channels where you have the moderator role.";
107
112
ModeratorManageAutoMod, scope:"moderator:manage:automod", doc:"Manage messages held for review by AutoMod in channels where you are a moderator.";
108
113
ModeratorManageAutomodSettings, scope:"moderator:manage:automod_settings", doc:"Manage a broadcaster’s AutoMod settings";
109
114
ModeratorManageBannedUsers, scope:"moderator:manage:banned_users", doc:"Ban and unban users.";
110
115
ModeratorManageBlockedTerms, scope:"moderator:manage:blocked_terms", doc:"Manage a broadcaster’s list of blocked terms.";
116
+
ModeratorManageChatMessages, scope:"moderator:manage:chat_messages", doc:"Delete chat messages in channels where you have the moderator role";
111
117
ModeratorManageChatSettings, scope:"moderator:manage:chat_settings", doc:"View a broadcaster’s chat room settings.";
112
118
ModeratorReadAutomodSettings, scope:"moderator:read:automod_settings", doc:"View a broadcaster’s AutoMod settings.";
113
119
ModeratorReadBlockedTerms, scope:"moderator:read:blocked_terms", doc:"View a broadcaster’s list of blocked terms.";
114
120
ModeratorReadChatSettings, scope:"moderator:read:chat_settings", doc:"View a broadcaster’s chat room settings.";
115
121
UserEdit, scope:"user:edit", doc:"Manage a user object.";
116
122
UserEditBroadcast, scope:"user:edit:broadcast", doc:"Edit your channel's broadcast configuration, including extension configuration. (This scope implies user:read:broadcast capability.)";
117
-
UserEditFollows, scope:"user:edit:follows", doc:"Edit a user’s follows.";
123
+
UserEditFollows, scope:"user:edit:follows", doc:"\\[DEPRECATED\\] Was previously used for “Create User Follows” and “Delete User Follows.";
118
124
UserManageBlockedUsers, scope:"user:manage:blocked_users", doc:"Manage the block list of a user.";
125
+
UserManageChatColor, scope:"user:manage:chat_color", doc:"Update the color used for the user’s name in chat.Update User Chat Color";
126
+
UserManageWhispers, scope:"user:manage:whispers", doc:"Read whispers that you send and receive, and send whispers on your behalf.";
119
127
UserReadBlockedUsers, scope:"user:read:blocked_users", doc:"View the block list of a user.";
120
128
UserReadBroadcast, scope:"user:read:broadcast", doc:"View a user’s broadcasting configuration, including Extension configurations.";
121
-
UserReadEmail, scope:"user:read:email", doc:"Read an authorized user’s email address.";
129
+
UserReadEmail, scope:"user:read:email", doc:"View a user’s email address.";
122
130
UserReadFollows, scope:"user:read:follows", doc:"View the list of channels a user follows.";
123
131
UserReadSubscriptions, scope:"user:read:subscriptions", doc:"View if an authorized user is subscribed to specific channels.";
0 commit comments