feat: add parallel OA and HR leave review
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"realm": [
|
||||
{ "name": "employee", "description": "普通员工" },
|
||||
{ "name": "department_manager", "description": "部门主管" },
|
||||
{ "name": "oa_admin", "description": "OA 管理员" }
|
||||
{ "name": "oa_admin", "description": "OA 管理员" },
|
||||
{ "name": "hr_reviewer", "description": "人力资源复核人" }
|
||||
]
|
||||
},
|
||||
"clients": [
|
||||
@@ -79,6 +80,18 @@
|
||||
"attributes": { "tenant_id": ["00000000-0000-7000-8000-000000000001"] },
|
||||
"credentials": [{ "type": "password", "value": "Admin123!", "temporary": false }],
|
||||
"realmRoles": ["employee", "oa_admin"]
|
||||
},
|
||||
{
|
||||
"id": "10000000-0000-7000-8000-000000000004",
|
||||
"username": "hr",
|
||||
"enabled": true,
|
||||
"emailVerified": true,
|
||||
"firstName": "人力",
|
||||
"lastName": "HR",
|
||||
"email": "hr@example.local",
|
||||
"attributes": { "tenant_id": ["00000000-0000-7000-8000-000000000001"] },
|
||||
"credentials": [{ "type": "password", "value": "HrReviewer123!", "temporary": false }],
|
||||
"realmRoles": ["employee", "hr_reviewer"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user