0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(schemas): add manage affiliate scope (#4168)

This commit is contained in:
Gao Sun 2023-07-14 15:21:08 +08:00 committed by GitHub
parent 3e08f3c94d
commit 305f1409fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,8 @@ export enum CloudScope {
ManageTenantSelf = 'manage:tenant:self',
SendSms = 'send:sms',
SendEmail = 'send:email',
/** The user can see and manage affiliates, including create, update, and delete. */
ManageAffiliate = 'manage:affiliate',
}
export const createCloudApi = (): Readonly<[UpdateAdminData, ...CreateScope[]]> => {