0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

refactor(schemas): add create affiliate scope (#4171)

This commit is contained in:
Gao Sun 2023-07-17 15:40:15 +08:00 committed by GitHub
parent 68a725926e
commit c00cfedcbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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