Skip to content

Commit 30de59a

Browse files
committed
i18n(platform-objects): translate Remove Manager into every bundled locale; changeset
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5okniknzVVR3KTSVr1
1 parent df7e6ce commit 30de59a

12 files changed

Lines changed: 70 additions & 0 deletions
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
'@objectstack/platform-objects': patch
3+
---
4+
5+
fix(platform-objects): Setup → Users shows who a user's manager is, who reports to them, and can remove a manager
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
An administrator who set a user's manager could not read it back anywhere in Setup: the record page's Details tab named no section holding `manager_id`, no list showed the people reporting to a user, and the Set Manager dialog opened on an empty picker. The value was stored correctly; only the reading back was missing.
11+
12+
- **Details → Reporting Line** shows the user's manager (`sys_user.manager_id`, still read-only on the record; it is written only through the admin endpoint).
13+
- **Details → Direct Reports** lists the users whose manager is this user. It is read-only: a report's manager is changed on that report's record.
14+
- **Set Manager** now opens on the current manager (the param is field-backed on `manager_id` with `defaultFromRow`), so an admin sees what a re-point replaces. The request body is unchanged: `{ userId, managerId }`.
15+
- **Remove Manager** (new `sys_user` action `remove_user_manager`, on the row menu and the record header) clears the link by posting `managerId: null` to `POST /api/v1/auth/admin/set-user-manager`. It carries the same platform-admin gate as Set Manager, is offered only while the user has a manager, asks for confirmation, and is not exposed to AI agents. The endpoint's refusals are unchanged and apply to the clear too: an identity a SCIM directory holds is refused there.

‎packages/platform-objects/src/apps/translations/ar.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const arObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "إزالة المدير",
333+
confirmText: "هل تريد إزالة مدير هذا المستخدم؟ لن يتبع أحدًا حتى يُعيَّن مدير من جديد، ويتبع توجيه الموافقات ونطاق السجلات own_and_reports هذا التغيير.",
334+
successMessage: "تمت إزالة المدير"
335+
},
331336
list_platform_admins: {
332337
label: "مسؤولو المنصة",
333338
resultDialog: {

‎packages/platform-objects/src/apps/translations/de.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const deObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "Vorgesetzten entfernen",
333+
confirmText: "Den Vorgesetzten dieses Benutzers entfernen? Bis erneut ein Vorgesetzter festgelegt wird, berichtet er an niemanden; das Genehmigungsrouting und der Datensatzbereich own_and_reports folgen der Änderung.",
334+
successMessage: "Vorgesetzter entfernt"
335+
},
331336
list_platform_admins: {
332337
label: "Plattformadministratoren",
333338
resultDialog: {

‎packages/platform-objects/src/apps/translations/en.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "Remove Manager",
333+
confirmText: "Remove this user's manager? They will report to no one until a manager is set again; approval routing and the own_and_reports record scope follow the change.",
334+
successMessage: "Manager removed"
335+
},
331336
list_platform_admins: {
332337
label: "Platform Administrators",
333338
resultDialog: {

‎packages/platform-objects/src/apps/translations/es-ES.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "Quitar gerente",
333+
confirmText: "¿Quitar el gerente de este usuario? No reportará a nadie hasta que se vuelva a asignar un gerente; el enrutamiento de aprobaciones y el ámbito de registros own_and_reports siguen el cambio.",
334+
successMessage: "Gerente quitado"
335+
},
331336
list_platform_admins: {
332337
label: "Administradores de la plataforma",
333338
resultDialog: {

‎packages/platform-objects/src/apps/translations/fr.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const frObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "Retirer le responsable",
333+
confirmText: "Retirer le responsable de cet utilisateur ? Il ne rendra compte à personne tant qu’un responsable n’est pas de nouveau défini ; le routage des approbations et la portée d’enregistrements own_and_reports suivent ce changement.",
334+
successMessage: "Responsable retiré"
335+
},
331336
list_platform_admins: {
332337
label: "Administrateurs de la plateforme",
333338
resultDialog: {

‎packages/platform-objects/src/apps/translations/ja-JP.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const jaJPObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "マネージャーを解除",
333+
confirmText: "このユーザーのマネージャーを解除しますか?マネージャーを再設定するまで、このユーザーには報告先がありません。承認ルーティングと own_and_reports レコードスコープもこの変更に従います。",
334+
successMessage: "マネージャーを解除しました"
335+
},
331336
list_platform_admins: {
332337
label: "プラットフォーム管理者",
333338
resultDialog: {

‎packages/platform-objects/src/apps/translations/ko.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const koObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "상사 제거",
333+
confirmText: "이 사용자의 상사를 제거하시겠습니까? 상사를 다시 지정할 때까지 이 사용자는 아무에게도 보고하지 않으며, 승인 라우팅과 own_and_reports 레코드 범위도 이 변경을 따릅니다.",
334+
successMessage: "상사가 제거되었습니다"
335+
},
331336
list_platform_admins: {
332337
label: "플랫폼 관리자",
333338
resultDialog: {

‎packages/platform-objects/src/apps/translations/pt-BR.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const ptBRObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "Remover gestor",
333+
confirmText: "Remover o gestor deste usuário? Ele não se reportará a ninguém até que um gestor seja definido novamente; o roteamento de aprovações e o escopo de registros own_and_reports acompanham a mudança.",
334+
successMessage: "Gestor removido"
335+
},
331336
list_platform_admins: {
332337
label: "Administradores da plataforma",
333338
resultDialog: {

‎packages/platform-objects/src/apps/translations/ru.objects.generated.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,11 @@ export const ruObjects: NonNullable<TranslationData['objects']> = {
328328
}
329329
}
330330
},
331+
remove_user_manager: {
332+
label: "Удалить руководителя",
333+
confirmText: "Удалить руководителя этого пользователя? Пока руководитель не будет назначен снова, пользователь никому не подчиняется; маршрутизация согласований и область записей own_and_reports следуют этому изменению.",
334+
successMessage: "Руководитель удалён"
335+
},
331336
list_platform_admins: {
332337
label: "Администраторы платформы",
333338
resultDialog: {

0 commit comments

Comments
 (0)