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

This commit is contained in:
Xiao Yijun 2024-02-05 16:14:57 +08:00
parent e37ba3aae9
commit 9aaeb7b571
No known key found for this signature in database
GPG key ID: 6F648FC1262DB420

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[]]> => {