1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Revert "chore: align the system user defined in core.ts with the one created in the migration (#5845)" (#5852)

This reverts commit 0b5ac19d9a.
This commit is contained in:
Thomas Heartman 2024-01-11 15:31:15 +05:30 committed by GitHub
parent 2a723ea9e8
commit 3779a6f0fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,14 +22,12 @@ export interface IUnleash {
version: string; version: string;
} }
// Used by unleash internally for performing system actions that have
// no user
export const SYSTEM_USER: IUser = { export const SYSTEM_USER: IUser = {
email: '', email: 'systemuser@getunleash.io',
id: -1337, id: -1337,
imageUrl: '', imageUrl: '',
isAPI: false, isAPI: false,
name: 'Unleash System', name: 'Used by unleash internally for performing system actions that have no user',
permissions: [], permissions: [],
username: 'unleash_system_user', username: 'unleash_system_user',
}; };