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

feat(schemas): add cleanup:outdated-logs cloud scope (#5381)

This commit is contained in:
Xiao Yijun 2024-02-22 14:14:40 +08:00 committed by GitHub
parent 3df1994bb5
commit be9428fa0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,8 @@ export enum CloudScope {
ManageAffiliate = 'manage:affiliate',
/** The user can create new affiliates and logs. */
CreateAffiliate = 'create:affiliate',
/** The user can cleanup outdated logs. */
CleanupOutdatedLogs = 'cleanup:outdated-logs',
}
export const createCloudApi = (): Readonly<[UpdateAdminData, ...CreateScope[]]> => {