mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: add site scopes
This commit is contained in:
+15
-1
@@ -118,7 +118,9 @@ export const defaultScopes: string[] = [
|
||||
'topics.read',
|
||||
'topics.write',
|
||||
'billing.read',
|
||||
'billing.write'
|
||||
'billing.write',
|
||||
'sites:read',
|
||||
'sites:write'
|
||||
];
|
||||
|
||||
export const defaultRoles: string[] = ['owner'];
|
||||
@@ -360,6 +362,18 @@ export const scopes: {
|
||||
description: 'Access to create migrations',
|
||||
category: 'Other',
|
||||
icon: 'globe'
|
||||
},
|
||||
{
|
||||
scope: 'sites:read',
|
||||
description: "Access to read your project's sites and deployments",
|
||||
category: 'Sites',
|
||||
icon: 'globe'
|
||||
},
|
||||
{
|
||||
scope: 'sites:write',
|
||||
description: "Access to create, update, and delete your project's sites and deployments",
|
||||
category: 'Sites',
|
||||
icon: 'globe'
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user