...
Field name | Description | Example |
---|---|---|
id | Represent the shadow user id, the same as real user id | 89e6d798-012f-4005-87da-95a64e8a61f3 |
username | Create using the following pattern: 'shadow_{{origninalUsername}}_{{random5charactersString}}' | shadow_mobius_admin_rrjwt |
type | Populate with constant value 'shadow' | shadow |
active | Populate true value | true |
metadata | Populate common metadata object |
...
Example of shadow user record in DB
Code Block | ||
---|---|---|
| ||
{
"username":"consortia_admin_oyulp",
"id":"122b3d2b-4788-4f1e-9117-56daa91cb75c",
"active":true,
"type":"shadow",
"departments":[],
"proxyFor":[],
"createdDate":"2023-08-01T09:48:59.009+00:00",
"updatedDate":"2023-08-01T09:48:59.009+00:00",
"metadata":{
"createdDate":"2023-08-01T09:48:58.999+00:00",
"createdByUserId":"6ece8efd-13d8-4ba6-9437-2b2e5a9c6f4a",
"updatedDate":"2023-08-01T09:48:58.999+00:00",
"updatedByUserId":"6ece8efd-13d8-4ba6-9437-2b2e5a9c6f4a"
}
} |
Storing originalTenantId field
...
Related story:
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|