mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
refactor(schemas): add manage affiliate scope (#4168)
This commit is contained in:
parent
3e08f3c94d
commit
305f1409fd
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ export enum CloudScope {
|
||||||
ManageTenantSelf = 'manage:tenant:self',
|
ManageTenantSelf = 'manage:tenant:self',
|
||||||
SendSms = 'send:sms',
|
SendSms = 'send:sms',
|
||||||
SendEmail = 'send:email',
|
SendEmail = 'send:email',
|
||||||
|
/** The user can see and manage affiliates, including create, update, and delete. */
|
||||||
|
ManageAffiliate = 'manage:affiliate',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const createCloudApi = (): Readonly<[UpdateAdminData, ...CreateScope[]]> => {
|
export const createCloudApi = (): Readonly<[UpdateAdminData, ...CreateScope[]]> => {
|
||||||
|
|
Loading…
Reference in a new issue