0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

refactor(schemas): rename cleanup:outdated-logs scope toprune:logs (#5452)

This commit is contained in:
Xiao Yijun 2024-02-29 16:12:24 +08:00 committed by GitHub
parent 0f250f71db
commit f078e968cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,8 +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',
/** The user can prune logs which are expired. */
PruneLogs = 'prune:logs',
}
export const createCloudApi = (): Readonly<[UpdateAdminData, ...CreateScope[]]> => {