Skip to content

Commit b86331d

Browse files
fix(console): the Users import wizard maps a manager column to import-users' manager_id (#34649)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi96QpUuH77yeiDEFd5Vi6Pg1)_ Fixes #34536 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:控制台「用户导入」向导新增可映射列 `manager_id`(标签取 sys_user 字段的「Manager」),选项面板加一句说明;11 个语言包都加了对应文案。 - 为什么改:导入接口早就接受 manager 列(按上级的邮箱或手机号,在所有行导入后关联),但向导里映射不到,CSV 里的上级列在发请求前就被丢掉了,只能走 API。 - 风险与回滚:只动界面的可映射列表和文案,接口接受什么不变;回滚即撤掉本 PR,向导回到不能映射上级列的旧状态。 - 先看:`ui/packages/app-shell/src/views/IdentityImportPanels.tsx`(新增的一列与说明),`ui/packages/app-shell/src/views/__tests__/identityImportFields.endpointColumns-34536.test.ts`(读接口源码、两边漂移即红的钉子)。 - 两分钟验证:`pnpm --dir ui exec vitest run packages/app-shell/src/views/__tests__/identityImportFields.endpointColumns-34536.test.ts packages/app-shell/src/views/__tests__/identityImportFields.emailRule-11913.test.tsx`,预期两个文件全绿(11 个用例)。 - 需要你做的:无,席位落地。 ## What changes - `identityImportFields` (the Users import wizard's only list of mapping targets) offers `manager_id`, typed `text` (the cell is an identity key, not the lookup id the `sys_user` field stores) and labelled by the object's `manager_id` field (fallback `Manager`). - The identity import options panel carries a `managerHint` line (`console.identityImport.managerHint`, added to every locale pack under `ui/packages/i18n/src/locales/`; `zh-Hant` regenerated from `zh-Hans` by `gen-zh-hant.mjs`). It says what the cell holds (the manager's email, or phone number where phone sign-in is on), that managers are linked once every row is in, and that an unresolved manager is reported on its row while the user is still created. - What `POST /api/v1/auth/admin/import-users` accepts is unchanged: no file under `packages/` is edited. ### Why a drift pin and not one shared list `@object-ui/app-shell` does not depend on `@objectstack/plugin-auth` (a server plugin), and the endpoint's column names are not exported: `MANAGER_COLUMN` / `POSITIONS_COLUMN` are module constants, and its `sys_user` columns are read as `data.NAME` inside `createData`. One runtime list both sides read would need either a new published export (`plugin-auth`'s index re-exports `admin-import-users.ts` wholesale) plus a console-to-server-plugin dependency, or a `packages/spec` export; both are out of this card's ruled scope. So the pin reads the endpoint's source: every `const X_COLUMN = 'NAME';` declaration (the second-pass columns) and every `data.NAME` read between `async createData(` and `async updateData(`, and requires the wizard's list to equal their union, both directions. Each extraction asserts its anchor first, so a refactor that moves the reads goes red instead of comparing nothing. `pnpm check:cross-package-test-inputs` is green with the read (Test UI's selector keeps a test that reads outside the ui workspace always-on). ## Tests - `identityImportFields.endpointColumns-34536.test.ts` (new, card-named): the drift pin above (4 cases). - `identityImportFields.emailRule-11913.test.tsx` (existing harness for `identityImportFields`, new top-level `describe`): `manager_id` is offered as `text` with the object field's label; the options panel explains it; and end to end, the real `ImportWizard` with the real identity data source and a faked import-users endpoint: a pasted `manager_id` column is auto-mapped and every row of the sent request carries `manager_id`. ## Acceptance notes - FROM, measured by the ablation below: with `manager_id` absent from the list, a pasted file's manager column is dropped before the request: the endpoint received `{ email, name }` rows with no `manager_id` (the wizard sends mapped columns only, and only the list's columns can be mapped). - The manager cell holds an email address, or a phone number where phone sign-in is on (`resolveManagerKey`); a user id reads as unreadable there, so the hint does not offer one. - Deliberately outside the pin: `image` and `locale`, which an upsert may write on an existing user (`SYS_USER_IMPORT_UPDATE_FIELDS`) but the create path does not read, and the phone column's legacy aliases (`phoneNumber`, `phone`). Not measured: whether a create row carrying `locale` or `image` drops it silently; the wizard has never offered either column. - `positions` keeps its literal `Positions` label: `sys_user` has no `positions` field to take a label from, and `identityImportFields` holds no translator, so the label treatment is not a one-line change. ## Verification Readings on head `aa68e1cd5` unless noted. Details - Targeted ui tests: `pnpm --dir ui exec vitest run --maxWorkers=2 packages/i18n/` plus the seven `identityImport*` / `IdentityImportPanels*` test files under `packages/app-shell/src/views/__tests__/`: the first run (head `099e1c34d`) was 1 failed / 108 passed files, `zh-hant-generated.test.ts` (the zh-Hant pack is generated); fixed by regenerating, commit `aa68e1cd5`; on `aa68e1cd5`: Test Files 109 passed (109), Tests 1939 passed / 13 skipped. - `pnpm --filter @object-ui/i18n run type-check` exit 0; `pnpm --filter @object-ui/app-shell run type-check` (both tsconfigs, the test one included) exit 0, after building each package's ui closure. - Ablation 1 (wizard side): `scripts/ablation-replace.mjs` deleted the `manager_id` entry (anchor 1 to 0, blob `f21b94a1b069` to `443f297dd4c7`): 3 failed / 8 passed, the drift pin (`manager_id` missing from the offered list) and both new wizard cases; restored, blob equals HEAD, `git diff HEAD` empty. - Ablation 2 (endpoint side): added `const DEPARTMENT_COLUMN = 'department';` to `admin-import-users.ts` (anchor 1 to 0, blob `14e1ed54e29d` to `78034eddc871`): the drift pin red, `department` expected and not offered; restored, blob equals HEAD. A first attempt whose replacement contained its anchor was refused by the tool before any test ran (a no-op, not a reading). - `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack`: 40 commands, every one exit 0 (`--ran`: 40 derived, 40 run, 0 NOT-MEASURED) (readings in the os-dev-report comment on #34536). - `ui/packages/app-shell` full suite (about 2,300 files) is left to CI's Test UI. --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmRXuRn93HphKp7kXEz)_ <!-- signed: repo:objectstack#2 · os-steve · session_01ADHkmRXuRn93HphKp7kXEz --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6880b04 commit b86331d

15 files changed

Lines changed: 191 additions & 1 deletion
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
fix(console): the Users import wizard maps a manager column, sent to import-users as `manager_id`
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
`POST /api/v1/auth/admin/import-users` already reads a `manager_id` column (the manager's email, or phone number where phone sign-in is on, linked after every row lands), but the Users import wizard offered no such target column, so a file's manager column could not be mapped and never reached the request. The wizard now offers `manager_id`, labelled by the `sys_user` field (`Manager`), and its options panel explains the column (`console.identityImport.managerHint`, in every `@object-ui/i18n` pack). What the endpoint accepts is unchanged.

‎ui/packages/app-shell/src/views/IdentityImportPanels.tsx‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ const POSITIONS_HINT_FALLBACK =
4444
'Positions: map a column of position machine names, several separated by ";". Each is assigned as in Setup; '
4545
+ 'a name that does not exist, or that you may not assign, is reported on its row, and the user is still created.';
4646

47+
const MANAGER_HINT_FALLBACK =
48+
'Manager: map a column holding each user\'s manager, by email address (or phone number where phone sign-in is on). '
49+
+ 'Managers are linked once every row is in, so a manager further down the file counts; a manager that is not found, '
50+
+ 'or cannot be linked, is reported on its row, and the user is still created.';
51+
4752
export function IdentityImportOptions({
4853
policy,
4954
onPolicyChange,
@@ -80,6 +85,11 @@ export function IdentityImportOptions({
8085
<p className="text-xs text-muted-foreground" data-testid="identity-import-positions-hint">
8186
{t('console.identityImport.positionsHint', POSITIONS_HINT_FALLBACK)}
8287
</p>
88+
{/* objectstack#34536 — the `manager_id` column's help: what the cell
89+
holds, and that an unresolved manager costs its row the link, not the user. */}
90+
<p className="text-xs text-muted-foreground" data-testid="identity-import-manager-hint">
91+
{t('console.identityImport.managerHint', MANAGER_HINT_FALLBACK)}
92+
</p>
8393
</div>
8494
);
8595
}
@@ -150,6 +160,16 @@ export function IdentityImportResultExtra({ serverResult }: { serverResult?: Imp
150160
* the row lands, as Setup assigns a position. Its help is the options
151161
* panel's `positionsHint`.
152162
*
163+
* `manager_id` (objectstack#34536) names the user's manager by an identity
164+
* key — the manager's email, or phone where phone sign-in is on — which the
165+
* endpoint resolves after every row lands (objectstack#18028). Typed `text`:
166+
* the cell is a key, not the `sys_user` lookup id the field stores. Its help
167+
* is the options panel's `managerHint`.
168+
*
169+
* This list is the endpoint's column set: a test reads `admin-import-users.ts`
170+
* in `@objectstack/plugin-auth` and fails when the two drift
171+
* (`identityImportFields.endpointColumns-34536.test.ts`).
172+
*
153173
* The flag is typed where it is written, against the wizard's own field type,
154174
* and the return type does not name it. `ObjectView` passes this list or
155175
* `importTargetFields`' list into the wizard's `fields` through one
@@ -168,5 +188,6 @@ export function identityImportFields(
168188
{ name: 'name', label: label('name', 'Name'), type: 'text' },
169189
{ name: 'role', label: label('role', 'Platform Role'), type: 'text' },
170190
{ name: 'positions', label: 'Positions', type: 'text' },
191+
{ name: 'manager_id', label: label('manager_id', 'Manager'), type: 'text' },
171192
];
172193
}

‎ui/packages/app-shell/src/views/__tests__/identityImportFields.emailRule-11913.test.tsx‎

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
* `React.lazy` boundary (AGENTS.md 测试纪律), so its cost lands in the import
2222
* phase, which no test timeout bounds.
2323
*/
24-
import { describe, it, expect } from 'vitest';
24+
import { describe, it, expect, beforeAll, vi } from 'vitest';
2525
import { render, screen, act, waitFor, fireEvent } from '@testing-library/react';
2626
import '@testing-library/jest-dom';
2727
import React from 'react';
2828

2929
import { ImportWizard } from '@object-ui/plugin-grid';
3030
import { identityImportFields, IdentityImportOptions } from '../IdentityImportPanels';
31+
import { createIdentityImportDataSource, IDENTITY_IMPORT_OBJECT } from '../identityImport';
3132

3233
/** Paste TSV into the upload step via the wizard's window-level handler. */
3334
function pasteRows(text: string) {
@@ -81,3 +82,67 @@ describe('identityImportFields: the positions column (objectstack#33113)', () =>
8182
expect(screen.getByTestId('identity-import-positions-hint')).toHaveTextContent(/position machine names.*";"/);
8283
});
8384
});
85+
86+
describe('identityImportFields: the manager column reaches import-users as `manager_id` (objectstack#34536)', () => {
87+
beforeAll(() => {
88+
if (!Element.prototype.hasPointerCapture) Element.prototype.hasPointerCapture = vi.fn(() => false);
89+
if (!Element.prototype.scrollIntoView) Element.prototype.scrollIntoView = vi.fn();
90+
});
91+
92+
it('offers `manager_id` as a text column labelled by the object field', () => {
93+
expect(identityImportFields(undefined).find((f) => f.name === 'manager_id'))
94+
.toEqual({ name: 'manager_id', label: 'Manager', type: 'text' });
95+
expect(identityImportFields({ manager_id: { label: 'Reports to' } }).find((f) => f.name === 'manager_id'))
96+
.toMatchObject({ label: 'Reports to', type: 'text' });
97+
});
98+
99+
it('the options panel explains the column', () => {
100+
render(<IdentityImportOptions policy="auto" onPolicyChange={() => {}} />);
101+
expect(screen.getByTestId('identity-import-manager-hint')).toHaveTextContent(/email address.*reported on its row/);
102+
});
103+
104+
it('a pasted manager column is mapped and sent on every row that names one', async () => {
105+
const bodies: Array<Record<string, unknown>> = [];
106+
const authFetch = vi.fn(async (_url: string, init?: RequestInit) => {
107+
const body = JSON.parse(String(init?.body)) as { rows: unknown[] } & Record<string, unknown>;
108+
bodies.push(body);
109+
const rows = body.rows.map((_, i) => ({ row: i + 1, ok: true, action: 'created', id: `u-${i}` }));
110+
return new Response(JSON.stringify({
111+
success: true,
112+
data: {
113+
summary: { total: rows.length, created: rows.length, updated: 0, skipped: 0, errors: 0, dryRun: body.dryRun === true },
114+
rows,
115+
},
116+
}), { status: 200, headers: { 'Content-Type': 'application/json' } });
117+
});
118+
const dataSource = createIdentityImportDataSource({
119+
base: {}, authFetch, baseUrl: 'http://srv', getPasswordPolicy: () => 'auto',
120+
});
121+
const onComplete = vi.fn();
122+
render(
123+
<ImportWizard
124+
objectName={IDENTITY_IMPORT_OBJECT}
125+
fields={identityImportFields(undefined)}
126+
dataSource={dataSource as never}
127+
open
128+
onOpenChange={() => {}}
129+
onComplete={onComplete}
130+
/>,
131+
);
132+
pasteRows('Email\tName\tmanager_id\nada@example.com\tAda\t\nbob@example.com\tBob\tada@example.com');
133+
const next = await screen.findByTestId('import-next-btn');
134+
await waitFor(() => expect(next).toBeEnabled());
135+
fireEvent.click(next);
136+
const run = await screen.findByTestId('import-run-btn');
137+
await waitFor(() => expect(run).toBeEnabled());
138+
fireEvent.click(run);
139+
await waitFor(() => expect(onComplete).toHaveBeenCalled());
140+
141+
const sent = bodies.filter((b) => b.dryRun !== true);
142+
expect(sent).toHaveLength(1);
143+
expect(sent[0].rows).toEqual([
144+
{ email: 'ada@example.com', name: 'Ada', manager_id: '' },
145+
{ email: 'bob@example.com', name: 'Bob', manager_id: 'ada@example.com' },
146+
]);
147+
});
148+
});
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
/**
2+
* ObjectUI
3+
* Copyright (c) 2024-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
9+
/**
10+
* The user import's mapping targets are the import-users endpoint's columns
11+
* (objectstack#34536).
12+
*
13+
* `identityImportFields` is the only list of columns the wizard can map, and a
14+
* column it does not offer never reaches the request: the wizard sends mapped
15+
* columns only. `POST /api/v1/auth/admin/import-users`
16+
* (`@objectstack/plugin-auth`, `admin-import-users.ts`) reads two kinds of
17+
* column by name:
18+
*
19+
* - the second-pass columns, each declared as one `const <X>_COLUMN = '<name>'`
20+
* (`manager_id`, `positions`), read off the row and resolved after every
21+
* row lands;
22+
* - the `sys_user` columns its create path reads (`data.<name>` inside
23+
* `createData`).
24+
*
25+
* The console does not depend on that server plugin, so this file reads its
26+
* source and compares both directions: a column the endpoint gains and the
27+
* wizard does not offer, and a column the wizard offers and the endpoint does
28+
* not read, are both red. Each extraction asserts it found its anchor first, so
29+
* a refactor that moves the reads fails here rather than comparing nothing.
30+
*
31+
* Deliberately outside the set: the profile fields an upsert may update on an
32+
* existing user but the create path does not read (`image`, `locale` in
33+
* `SYS_USER_IMPORT_UPDATE_FIELDS`), and the phone column's legacy aliases
34+
* (`phoneNumber`, `phone`), which the endpoint folds into `phone_number`.
35+
*/
36+
import { describe, it, expect } from 'vitest';
37+
import { readFileSync } from 'node:fs';
38+
import path from 'node:path';
39+
import { fileURLToPath } from 'node:url';
40+
41+
import { identityImportFields } from '../IdentityImportPanels';
42+
43+
const here = path.dirname(fileURLToPath(import.meta.url));
44+
const ENDPOINT_SOURCE = path.resolve(here, '../../../../../../packages/plugins/plugin-auth/src/admin-import-users.ts');
45+
46+
const source = readFileSync(ENDPOINT_SOURCE, 'utf8');
47+
48+
/** `const MANAGER_COLUMN = 'manager_id';` → `manager_id`, one per declaration. */
49+
function declaredColumns(src: string): string[] {
50+
return [...src.matchAll(/^const [A-Z_]+_COLUMN = '([a-z_]+)';$/gm)].map((m) => m[1]);
51+
}
52+
53+
/** The `data.<name>` reads between `async createData(` and `async updateData(`. */
54+
function createPathColumns(src: string): string[] {
55+
const start = src.indexOf('async createData(');
56+
const end = src.indexOf('async updateData(');
57+
expect(start, 'admin-import-users.ts no longer declares `async createData(`').toBeGreaterThan(-1);
58+
expect(end, '`async updateData(` must follow `async createData(`').toBeGreaterThan(start);
59+
return [...new Set([...src.slice(start, end).matchAll(/\bdata\.([a-z_]+)\b/g)].map((m) => m[1]))];
60+
}
61+
62+
describe('identityImportFields: the wizard offers exactly the columns import-users reads (objectstack#34536)', () => {
63+
const offered = identityImportFields(undefined).map((f) => f.name);
64+
65+
it('reads the endpoint\'s second-pass columns, manager_id among them', () => {
66+
const declared = declaredColumns(source);
67+
expect(declared).toEqual(expect.arrayContaining(['manager_id', 'positions']));
68+
});
69+
70+
it('reads the endpoint\'s create-path columns, email among them', () => {
71+
expect(createPathColumns(source)).toEqual(expect.arrayContaining(['email', 'name']));
72+
});
73+
74+
it('offers every column the endpoint reads, and nothing else', () => {
75+
const accepted = [...new Set([...declaredColumns(source), ...createPathColumns(source)])];
76+
expect([...offered].sort()).toEqual([...accepted].sort());
77+
});
78+
79+
it('offers each column once', () => {
80+
expect(new Set(offered).size).toBe(offered.length);
81+
});
82+
});

‎ui/packages/i18n/src/locales/ar.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2133,6 +2133,7 @@ const ar = {
21332133
passwordsNote: "كلمات مرور مؤقتة — تُعرض مرة واحدة ولا تُخزَّن أبدًا. احفظها الآن؛ وعلى كل مستخدم تغيير كلمته عند أول تسجيل دخول.",
21342134
passwordsMore: "تم حذف إدخالات إضافية — استخدم التنزيل.",
21352135
positionsHint: "المناصب: اربط عمودًا بأسماء المناصب الآلية، ويُفصل بين عدة أسماء بـ \";\". يُسند كل منصب كما في Setup؛ والاسم غير الموجود أو الذي لا يحق لك إسناده يُبلَّغ عنه في صفه، ويُنشأ المستخدم رغم ذلك.",
2136+
managerHint: "المدير: اربط عمودًا بمدير كل مستخدم، بعنوان بريده الإلكتروني (أو رقم هاتفه عند تفعيل تسجيل الدخول بالهاتف). يُربط المديرون بعد إدخال جميع الصفوف، لذا يُحتسب المدير الوارد في موضع لاحق من الملف؛ والمدير الذي لا يُعثر عليه أو يتعذر ربطه يُبلَّغ عنه في صفه، ويُنشأ المستخدم رغم ذلك.",
21362137
passwordsDownload: "تنزيل ملف CSV",
21372138
},
21382139
ai: {

‎ui/packages/i18n/src/locales/de.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,6 +1918,7 @@ const de = {
19181918
passwordsNote: "Temporäre Passwörter — einmalig angezeigt, nie gespeichert. Speichern Sie sie jetzt; jeder Benutzer muss seines bei der ersten Anmeldung ändern.",
19191919
passwordsMore: "Weitere Einträge ausgelassen — bitte den Download verwenden.",
19201920
positionsHint: "Positionen: Ordnen Sie eine Spalte mit Maschinennamen von Positionen zu, mehrere durch Semikolon (;) getrennt. Jede wird wie in Setup zugewiesen; ein Name, den es nicht gibt oder den Sie nicht zuweisen dürfen, wird in seiner Zeile gemeldet, und der Benutzer wird trotzdem angelegt.",
1921+
managerHint: "Vorgesetzte: Ordnen Sie eine Spalte mit der vorgesetzten Person jedes Benutzers zu, per E-Mail-Adresse (oder Telefonnummer, wenn die Telefon-Anmeldung aktiv ist). Vorgesetzte werden verknüpft, wenn alle Zeilen angelegt sind, daher zählt auch eine Person weiter unten in der Datei; eine Person, die nicht gefunden oder nicht verknüpft werden kann, wird in ihrer Zeile gemeldet, und der Benutzer wird trotzdem angelegt.",
19211922
passwordsDownload: "CSV herunterladen",
19221923
},
19231924
ai: {

‎ui/packages/i18n/src/locales/en.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3050,6 +3050,7 @@ const en = {
30503050
passwordsNote: 'Temporary passwords — shown once, never stored. Save them now; each user must change theirs at first sign-in.',
30513051
passwordsMore: 'More entries omitted — use the download.',
30523052
positionsHint: 'Positions: map a column of position machine names, several separated by ";". Each is assigned as in Setup; a name that does not exist, or that you may not assign, is reported on its row, and the user is still created.',
3053+
managerHint: 'Manager: map a column holding each user\'s manager, by email address (or phone number where phone sign-in is on). Managers are linked once every row is in, so a manager further down the file counts; a manager that is not found, or cannot be linked, is reported on its row, and the user is still created.',
30533054
passwordsDownload: 'Download CSV',
30543055
},
30553056
// objectstack#30205 — the ban dialog's account of a user's open work (app-shell UserAssignedWorkPanel).

‎ui/packages/i18n/src/locales/es.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,6 +1974,7 @@ const es = {
19741974
passwordsNote: "Contraseñas temporales — se muestran una sola vez y nunca se almacenan. Guárdelas ahora; cada usuario debe cambiar la suya en el primer inicio de sesión.",
19751975
passwordsMore: "Se han omitido más entradas — use la descarga.",
19761976
positionsHint: "Puestos: asigne una columna con nombres de máquina de puestos, varios separados por «;». Cada uno se asigna como en Setup; un nombre que no existe o que usted no puede asignar se informa en su fila, y el usuario se crea igualmente.",
1977+
managerHint: "Responsable: asigne una columna con el responsable de cada usuario, por dirección de correo (o número de teléfono si el inicio de sesión por teléfono está activo). Los responsables se vinculan cuando todas las filas están dentro, así que cuenta también uno que aparece más abajo en el archivo; un responsable que no se encuentra o no se puede vincular se informa en su fila, y el usuario se crea igualmente.",
19771978
passwordsDownload: "Descargar CSV",
19781979
},
19791980
ai: {

‎ui/packages/i18n/src/locales/fr.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,6 +1970,7 @@ const fr = {
19701970
passwordsNote: "Mots de passe temporaires — affichés une seule fois, jamais stockés. Enregistrez-les maintenant ; chaque utilisateur doit changer le sien à la première connexion.",
19711971
passwordsMore: "Autres entrées omises — utilisez le téléchargement.",
19721972
positionsHint: "Postes : associez une colonne de noms machine de postes, plusieurs séparés par « ; ». Chacun est attribué comme dans Setup ; un nom inexistant, ou que vous ne pouvez pas attribuer, est signalé sur sa ligne, et l’utilisateur est tout de même créé.",
1973+
managerHint: "Responsable : associez une colonne indiquant le responsable de chaque utilisateur, par adresse e-mail (ou numéro de téléphone si la connexion par téléphone est active). Les responsables sont liés une fois toutes les lignes importées, donc un responsable plus bas dans le fichier compte ; un responsable introuvable, ou qui ne peut pas être lié, est signalé sur sa ligne, et l’utilisateur est tout de même créé.",
19731974
passwordsDownload: "Télécharger le CSV",
19741975
},
19751976
ai: {

‎ui/packages/i18n/src/locales/ja.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,6 +1918,7 @@ const ja = {
19181918
passwordsNote: "仮パスワード — 一度だけ表示され、保存されません。今すぐ保存してください。各ユーザーは初回サインイン時に変更する必要があります。",
19191919
passwordsMore: "以降のエントリは省略されました — ダウンロードをご利用ください。",
19201920
positionsHint: "役職:役職のマシン名の列をマッピングできます(複数は「;」で区切ります)。各役職は Setup と同じルールで割り当てられます。存在しない役職や割り当て権限のない役職はその行にエラーとして表示され、ユーザーは作成されます。",
1921+
managerHint: "上司:各ユーザーの上司を示す列をマッピングできます(メールアドレス、電話番号ログインが有効な場合は電話番号)。上司はすべての行の取り込み後に関連付けられるため、ファイルの後方にいる上司も有効です。見つからない、または関連付けできない上司はその行にエラーとして表示され、ユーザーは作成されます。",
19211922
passwordsDownload: "CSV をダウンロード",
19221923
},
19231924
ai: {

0 commit comments

Comments
 (0)