mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-25 12:01:04 +02:00
fix: fix superadmin impersonation
This commit is contained in:
parent
d1339970a5
commit
e405457676
16 changed files with 593 additions and 172 deletions
|
|
@ -3125,8 +3125,9 @@ export type HuggingFaceSttConfiguration = {
|
|||
*
|
||||
* Request payload for superadmin impersonation.
|
||||
*
|
||||
* Either ``provider_user_id`` **or** ``user_id`` must be supplied. If both are
|
||||
* provided, ``provider_user_id`` takes precedence.
|
||||
* ``provider_user_id``, ``user_id``, or ``email`` may be supplied. If more
|
||||
* than one is provided, ``provider_user_id`` takes precedence, followed by
|
||||
* ``user_id`` and then ``email``.
|
||||
*/
|
||||
export type ImpersonateRequest = {
|
||||
/**
|
||||
|
|
@ -3137,6 +3138,10 @@ export type ImpersonateRequest = {
|
|||
* User Id
|
||||
*/
|
||||
user_id?: number | null;
|
||||
/**
|
||||
* Email
|
||||
*/
|
||||
email?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue