From d4d08a83074c02b9e9fb37e728140051840febd1 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 18 Jan 2021 17:00:28 -0800 Subject: [PATCH] Add HAS_ADMIN_ACCESS scope --- web/pages/access-tokens.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/pages/access-tokens.tsx b/web/pages/access-tokens.tsx index 013aa1dfe..bbb96f3f6 100644 --- a/web/pages/access-tokens.tsx +++ b/web/pages/access-tokens.tsx @@ -15,6 +15,7 @@ import { const availableScopes = { 'CAN_SEND_SYSTEM_MESSAGES': { name: 'System messages', description: 'You can send official messages on behalf of the system', color: 'purple' }, 'CAN_SEND_MESSAGES': { name: 'User chat messages', description: 'You can send messages on behalf of a username', color: 'green' }, + 'HAS_ADMIN_ACCESS': { name: 'Has admin access', description: 'Can perform administrative actions such as moderation, get server statuses, etc', color: 'red' }, }; function convertScopeStringToTag(scopeString) {