Skip to content

Commit 2b11a71

Browse files
feat(platform-objects): add and remove an IdP group mapping from Setup (objectstack-ai#32235)
<!-- claude-projects-attribution: {"github_login":"os-support-ai"} --> _Requested by **Yibo Wang** · [project thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwB9FtKWefJAsfBknskRbuBTi)_ Part of objectstack-ai#32185 (item 2: the IdP group-mapping form in Setup) Clause-②: yes (widening) Metadata-protocol: none ## 维护者速读 - 改了什么:Setup → IdP Group Mappings 不再只读。`sys_idp_group_mapping` 声明了三个 `type: 'api'` 动作:列表工具栏的 **Map SSO Group** / **Map SCIM Group**(POST `set-group-mapping`),每行的 **Delete Mapping**(POST `delete-group-mapping`,`recordIdParam: mappingId` + 确认文案)。只对平台管理员显示,并声明 `manage_platform_settings` 门。plugin-auth 的 set 门在封闭键集里额外放行 `organizationId` 一个键(不读取它)。 - 为什么改:以前只能靠运维脚本直接 POST 这两个门来建、删映射;objectstack-ai#32185 第 2 项要求在 Setup 里有表单。 - 风险与回滚:动作门本来就给 `/api/v1/auth/` 目标盖上 `organizationId`,封闭键集会拒掉它,所以 plugin-auth 改了一行(单独提交 55b5920);映射仍落在源(SCIM 连接 / SSO 提供方)所在的组织,盖章值从不被读取,其它未知键照旧 400 `unknown_field`。数据 API 仍是 `['list']`,`lock: 'full'` 不变。回滚即还原本 PR。 - 先看:`packages/platform-objects/src/identity/sys-idp-group-mapping.object.ts` 的 `actions` 块,`packages/plugins/plugin-auth/src/idp-group-mapping-admin.ts:100` 和 `:335`。 - 两分钟验证:`pnpm --filter @objectstack/platform-objects exec vitest run src/identity/sys-idp-group-mapping-actions.test.ts`(11 例通过),`pnpm --filter @objectstack/plugin-auth exec vitest run src/scim-group-projection.test.ts -t "organizationId stamp"`(2 例通过)。 - 需要你做的:无,席位落地。objectstack-ai#32186 已落地,本分支已合并 main(无冲突),用生成器重新生成翻译,无差异。 ## Why the plugin-auth file rides here The order assumed the door needed no change. Measured: every `type: 'api'` action aimed at an `/api/v1/auth/` path is posted with the caller's active organization stamped into the body as `organizationId`, on the server's action door (`packages/runtime/src/action-execution.ts:1604`) and on the console's direct path (`ui/packages/app-shell/src/hooks/useConsoleActionRuntime.tsx:559`). `set-group-mapping` closes its body key set, so before this change every declared Map action was refused `400 VALIDATION_FAILED` (`organizationId: unknown_field`) for any admin with an active organization. The seat ruled the door admits exactly that key and reads nothing from it; the change is its own commit (55b5920) with its own pins. ## What changes - **`sys_idp_group_mapping`** (`@objectstack/platform-objects`): - `map_sso_group`: params `providerId` (required), `groupExternalId`, `groupDisplayName`, `permissionSet` (required, `widget: 'permission-ref'`, the security-catalog picker). The door judges "exactly one of the two group keys" and answers with its own sentence. - `map_scim_group`: the same with `connectionId`. One action per source kind, so each sends exactly one of `connectionId` / `providerId`. - `delete_group_mapping`: `list_item` + `record_header`, `recordIdParam: 'mappingId'`, no params, a `confirmText` that says what the delete removes. - All three: `requiredPermissions: ['manage_platform_settings']` (PLATFORM_ADMIN_SETTINGS_GATE), `visible: current_user.isPlatformAdmin == true`, `refreshAfter`, no `ai` block (they postdate the ADR-0011 identity-actions assessment). - `listViews.all.emptyState`: the engine-owned bucket's fallback says rows "appear automatically", which stopped being true; the view now says how to add one. - `managedBy: 'engine-owned'` (the "System-managed" header badge) is unchanged: it also enrols the object in plugin-security's engine-owned write guard, so changing it is not safe here. - **`@objectstack/plugin-auth`**: `set-group-mapping` admits `organizationId` (`ACTION_DOOR_STAMP_KEY`) and ignores it; route-ledger notes name the three actions. - **Translations**: regenerated with `node scripts/check-i18n-bundles.mjs --write`; the new leaves translated in all ten non-English locales, then regenerated again so the source-hash companions settle. No generated structure edited by hand. - **Docs**: `content/docs/permissions/sso.mdx` "Saving a mapping" names Setup → IdP Group Mappings and its three actions; the curl path stays as the operator route. - **Changeset**: `.changeset/32185-idp-group-mapping-setup-actions.md` (both packages, patch). ## Tests - `sys-idp-group-mapping-actions.test.ts` (new, 11): route, method, locations, param names and required set; every param is a key the save admits and each Map action names exactly one source; the picker widget; delete's `recordIdParam` + confirm; a live-instrument control; the declared gate; CEL visibility for a platform admin (true), an org admin and a member (false); no `ai.exposed`; lock / list-only API / engine-owned unchanged; the list's own empty state. - `platform-admin-affordance-standing.test.ts`: the family floor names the three actions. - `scim-group-projection.test.ts` (2 new): a body carrying `organizationId` naming another org lands in the source's organization; `organizationId` + `tenantId` is refused with only `tenantId: unknown_field` and nothing stored. (Inserted before the agent-ceiling block, not at the end, to stay clear of objectstack-ai#32186's append.) - `useConsoleActionRuntime.createUserRequiredField-28289.test.tsx` (5 new, console against a stub door): Map SSO Group posts to `/api/v1/actions/sys_idp_group_mapping/map_sso_group` and refreshes; a boundary `400` shows the door's sentence in the dialog, keeps the values, no refresh; a `409` conflict shows its first sentence and the "More" disclosure reveals the delete-first instruction; Delete asks the confirm sentence once and posts `mappingId`; a `404` delete surfaces the door's sentence. ### Ablations (`scripts/ablation-replace.mjs`, restored, `git diff HEAD` empty after each) | # | mutation | result | |---|---|---| | A1 | `delete_group_mapping`'s `requiredPermissions` → `[]` | red: 2 of 16 (`each declares the door's platform-settings gate…` here, and the affordance-standing floor's `each member declares its gate…`) | | A2 | drop `&& key !== ACTION_DOOR_STAMP_KEY` in the door | red: both stamp cases (`organizationId is not a field of a group mapping…`, `expected 400 to be 200`) | A1's first attempt was refused by the tool (replacement count 1→1, the replacement contained its anchor) and re-run with a marker replacement. ## Acceptance notes - Browser, showcase dev boot, platform admin, SSO on (a SAML provider registered): add a mapping and see the row; pick `admin_full_access` and see the door's refusal sentence in the dialog; delete the mapping from the row menu with the confirm sentence and see the empty state. Screenshots in the os-dev report. - The permission-set picker lists the whole catalog, administrator sets included; the door refuses those with its boundary sentence. Narrowing the picker would need a filtered data source the widget does not take today. - A refusal shows twice in the dialog (the runner's toast and the dialog's refusal box); that is the shared action runtime, unchanged here. - Serial with objectstack-ai#32186, which landed first (9052363). This branch merged `origin/main` at `e40f2df299` with no conflict; `node scripts/check-i18n-bundles.mjs --write` on the merged tree changed nothing. objectstack-ai#32186's `match_status` fields and my actions sit side by side in the object file, and its cases and mine in `scim-group-projection.test.ts`. ## Verification Head `141ac9be38` (merge of `origin/main` at `e40f2df299`, which includes objectstack-ai#32186). Every run below on that tree under `scripts/pm/os-verify-lock.sh`, `VERDICT command-exit 0`. - `pnpm --filter @objectstack/platform-objects exec vitest run`: 121 files, 1945 tests passed. - `pnpm --filter @objectstack/plugin-auth exec vitest run`: 257 files, 4627 passed, 10 skipped. - `cd ui && pnpm exec vitest run packages/app-shell/src/hooks/__tests__/useConsoleActionRuntime.createUserRequiredField-28289.test.tsx`: 11 passed. - Type-check: `@objectstack/plugin-auth` `typecheck` and `@objectstack/platform-objects` `typecheck` exit 0 on the merged tree; `@object-ui/app-shell` `type-check` exit 0 at `52a8d5b8` (the merge touched nothing under `ui/packages/app-shell`). - `node scripts/check-sdui-manifest.mjs` exit 0; `pnpm --dir ui run check:spec-symbols` exit 0. - `node scripts/pm/dispatch-gates.mjs --commands`: 104 families (the docs page widened the set from 74), every one run, every one exit 0, including `check:i18n`, `check:i18n-stale-fill`, `check-affected-docs`, `check:doc-authoring`, `check:doc-anchors` and `check:doc-security-posture`. `--ran`: 104 derived, 104 run, 0 NOT-MEASURED, 0 UNRUN. - Artifact-roster families whose roster sits under a directory this change touches, run as well: `check:authz-resolver`, `check:changeset-fixed`, `check:error-code-casing`, `check:filter-alias-parity`, `check:route-ledger-census`: all exit 0. - Not run locally: CI's Test Core shards, dogfood jobs and workspace type-check lanes (outside the derived set). No dogfood battery: the title has no `!` and the Clause-② line carries the `(widening)` arm. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01WGufzhYZn6qndaRrxvWoBV <!-- signed: domain:ui#2 · os-support-ai · session_01WGufzhYZn6qndaRrxvWoBV --> --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: objectstack-fleet[bot] <332303061+objectstack-fleet[bot]@users.noreply.github.com>
1 parent c147fc2 commit 2b11a71

20 files changed

Lines changed: 1227 additions & 20 deletions
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'@objectstack/platform-objects': patch
3+
'@objectstack/plugin-auth': patch
4+
---
5+
6+
feat(platform-objects): add and remove an IdP group mapping from Setup
7+
8+
Clause-②: yes (widening)
9+
Metadata-protocol: none
10+
11+
Setup → IdP Group Mappings was a read-only list: the only writers of a group → permission-set mapping were plugin-auth's `POST /api/v1/auth/admin/scim/set-group-mapping` and `/admin/scim/delete-group-mapping`, posted by operator scripts. `sys_idp_group_mapping` now declares three actions that post those two doors, offered to platform administrators only (`current_user.isPlatformAdmin == true`) and gated on `manage_platform_settings` where the action doors read it:
12+
13+
- **Map SSO Group** (list toolbar): an SSO provider's Provider ID, the group as its groups claim sends it (an external ID or a display name), and a permission set picked from the security catalog. It applies at each member's next sign-in through the provider.
14+
- **Map SCIM Group** (list toolbar): the same for a SCIM connection; the group's current members are granted the set at once.
15+
- **Delete Mapping** (each mapping row): asks for confirmation, then deletes the mapping; the grants it made are removed.
16+
17+
Every refusal is the door's own sentence, shown in the action's dialog: a permission set outside the organization boundary (an administrator set, an agent ceiling), a same-group mapping left in another organization (naming the mapping to delete first), SCIM, SSO or the security service not enabled, an unknown mapping. The data API stays list-only and the object stays fully locked, so no generic create, edit or delete appears.
18+
19+
`@objectstack/plugin-auth`: the set-group-mapping door now admits `organizationId` in its body and reads nothing from it. Every `type: 'api'` action aimed at an `/api/v1/auth/` path is forwarded with the caller's active organization stamped as `organizationId`, so the door's closed key set refused every action that posted it. The mapping's organization is still the source's (the SCIM connection's or the SSO provider's), never the stamped one; any other unknown key is still refused `400 VALIDATION_FAILED`.

‎content/docs/permissions/sso.mdx‎

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,9 +511,25 @@ without the API:
511511
member of the provider's mapping is kept as stored. A provider without a
512512
groups claim signs users in as one registered without it.
513513
514-
**Saving a mapping.** A platform administrator saves one mapping per group and
515-
permission set through `POST /api/v1/auth/admin/scim/set-group-mapping`, naming
516-
the provider with `providerId`:
514+
**Saving a mapping in Setup.** In **Setup → IdP Group Mappings**, a platform
515+
administrator manages the mappings without the API:
516+
517+
- **Map SSO Group** saves a mapping for an SSO provider: its Provider ID, the
518+
group as the groups claim sends it (a Group External ID or a Group Display
519+
Name), and a permission set picked from the security catalog.
520+
- **Map SCIM Group** does the same for a SCIM connection, named by its
521+
connection ID.
522+
- **Delete Mapping**, on a mapping's row, asks for confirmation and then deletes
523+
the mapping, as the delete route below does.
524+
525+
A save or a delete the server refuses shows the server's own message in the
526+
dialog, and nothing is stored. There is no generic New or Edit form on the
527+
list: a mapping changes only through these actions or the routes below.
528+
529+
**Saving a mapping through the API.** Operators and scripts save one mapping
530+
per group and permission set through
531+
`POST /api/v1/auth/admin/scim/set-group-mapping`, naming the provider with
532+
`providerId`:
517533
518534
```bash
519535
curl -X POST http://localhost:3000/api/v1/auth/admin/scim/set-group-mapping \

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

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2871,7 +2871,64 @@ export const arObjects: NonNullable<TranslationData['objects']> = {
28712871
},
28722872
_views: {
28732873
all: {
2874-
label: "الكل"
2874+
label: "الكل",
2875+
emptyState: {
2876+
title: "لا توجد روابط مجموعات بعد",
2877+
message: "امنح مجموعة أذونات لأعضاء مجموعة من موفّر الهوية باستخدام \"ربط مجموعة SSO\" (مجموعة يرسلها موفّر SSO عند تسجيل الدخول) أو \"ربط مجموعة SCIM\" (مجموعة يجهّزها اتصال SCIM)."
2878+
}
2879+
}
2880+
},
2881+
_actions: {
2882+
map_sso_group: {
2883+
label: "ربط مجموعة SSO",
2884+
description: "منح مجموعة أذونات لكل عضو في مجموعة يرسلها موفّر SSO عند تسجيل الدخول. يسري ذلك عند تسجيل الدخول التالي لكل عضو عبر الموفّر.",
2885+
successMessage: "تم حفظ ربط المجموعة. يسري عند تسجيل الدخول التالي لكل عضو عبر الموفّر.",
2886+
params: {
2887+
providerId: {
2888+
label: "معرّف موفّر SSO",
2889+
helpText: "معرّف موفّر SSO الذي يحمل تسجيل الدخول عبره المجموعة، مثل \"okta\". يجب أن يكون للموفّر مطالبة مجموعات (تحرير مطالبة المجموعات في موفّر SSO)."
2890+
},
2891+
groupExternalId: {
2892+
label: "المعرّف الخارجي للمجموعة",
2893+
helpText: "قيمة المجموعة كما ترسلها مطالبة المجموعات تمامًا عندما تكون معرّفًا، مثل معرّف كائن مجموعة في Entra ID. املأ هذا الحقل أو اسم عرض المجموعة، لا كليهما."
2894+
},
2895+
groupDisplayName: {
2896+
label: "اسم عرض المجموعة",
2897+
helpText: "قيمة المجموعة كما ترسلها مطالبة المجموعات تمامًا عندما تكون اسمًا، مثل \"Sales\". املأ هذا الحقل أو المعرّف الخارجي للمجموعة، لا كليهما."
2898+
},
2899+
permissionSet: {
2900+
label: "مجموعة الأذونات",
2901+
helpText: "مجموعة الأذونات التي يُمنحها عضو المجموعة في مؤسسة الموفّر. تُرفض مجموعات المسؤول."
2902+
}
2903+
}
2904+
},
2905+
map_scim_group: {
2906+
label: "ربط مجموعة SCIM",
2907+
description: "منح مجموعة أذونات لكل عضو في مجموعة يجهّزها اتصال SCIM. يحصل عليها الأعضاء الحاليون للمجموعة فورًا.",
2908+
successMessage: "تم حفظ ربط المجموعة",
2909+
params: {
2910+
connectionId: {
2911+
label: "معرّف اتصال SCIM",
2912+
helpText: "اتصال SCIM الذي تُجهَّز المجموعة عبره، مثل \"okta-prod\": معرّف الاتصال لبيانات اعتماده."
2913+
},
2914+
groupExternalId: {
2915+
label: "المعرّف الخارجي للمجموعة",
2916+
helpText: "قيمة externalId للمجموعة كما يرسلها موفّر الهوية. املأ هذا الحقل أو اسم عرض المجموعة، لا كليهما."
2917+
},
2918+
groupDisplayName: {
2919+
label: "اسم عرض المجموعة",
2920+
helpText: "قيمة displayName للمجموعة، وتُطابَق تمامًا. املأ هذا الحقل أو المعرّف الخارجي للمجموعة، لا كليهما."
2921+
},
2922+
permissionSet: {
2923+
label: "مجموعة الأذونات",
2924+
helpText: "مجموعة الأذونات التي يُمنحها عضو المجموعة في مؤسسة الاتصال. تُرفض مجموعات المسؤول."
2925+
}
2926+
}
2927+
},
2928+
delete_group_mapping: {
2929+
label: "حذف الربط",
2930+
confirmText: "حذف ربط المجموعة هذا؟ يتوقف منح أعضاء المجموعة مجموعة الأذونات الخاصة به. في اتصال SCIM، يُعاد إسقاط أعضاء المجموعة الآن ويفقدون المنح التي قام بها هذا الربط. في موفّر SSO، تُزال الآن المنح التي قامت بها عمليات تسجيل الدخول عبره لهذه المجموعة، ما لم يذكر ربط آخر للموفّر المجموعة نفسها. لاستعادته، اربط المجموعة مرة أخرى.",
2931+
successMessage: "تم حذف ربط المجموعة"
28752932
}
28762933
}
28772934
},

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

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2871,7 +2871,64 @@ export const deObjects: NonNullable<TranslationData['objects']> = {
28712871
},
28722872
_views: {
28732873
all: {
2874-
label: "Alle"
2874+
label: "Alle",
2875+
emptyState: {
2876+
title: "Noch keine Gruppenzuordnungen",
2877+
message: "Mit „SSO-Gruppe zuordnen“ (eine Gruppe, die ein SSO-Anbieter bei der Anmeldung sendet) oder „SCIM-Gruppe zuordnen“ (eine Gruppe, die eine SCIM-Verbindung bereitstellt) den Mitgliedern einer Gruppe des Identitätsanbieters einen Berechtigungssatz gewähren."
2878+
}
2879+
}
2880+
},
2881+
_actions: {
2882+
map_sso_group: {
2883+
label: "SSO-Gruppe zuordnen",
2884+
description: "Jedem Mitglied einer Gruppe, die ein SSO-Anbieter bei der Anmeldung sendet, einen Berechtigungssatz gewähren. Gilt ab der nächsten Anmeldung des Mitglieds über den Anbieter.",
2885+
successMessage: "Gruppenzuordnung gespeichert. Sie gilt ab der nächsten Anmeldung jedes Mitglieds über den Anbieter.",
2886+
params: {
2887+
providerId: {
2888+
label: "SSO-Anbieter-ID",
2889+
helpText: "Die Anbieter-ID des SSO-Anbieters, dessen Anmeldung die Gruppe mitsendet, z. B. „okta“. Der Anbieter braucht einen Gruppen-Claim (Gruppen-Claim bearbeiten am SSO-Anbieter)."
2890+
},
2891+
groupExternalId: {
2892+
label: "Externe Gruppen-ID",
2893+
helpText: "Der Gruppenwert genau so, wie der Gruppen-Claim ihn sendet, wenn er eine ID ist, z. B. eine Gruppenobjekt-ID aus Entra ID. Dieses Feld oder den Gruppen-Anzeigenamen setzen, nicht beide."
2894+
},
2895+
groupDisplayName: {
2896+
label: "Gruppen-Anzeigename",
2897+
helpText: "Der Gruppenwert genau so, wie der Gruppen-Claim ihn sendet, wenn er ein Name ist, z. B. „Sales“. Dieses Feld oder die externe Gruppen-ID setzen, nicht beide."
2898+
},
2899+
permissionSet: {
2900+
label: "Berechtigungssatz",
2901+
helpText: "Der Berechtigungssatz, den ein Mitglied der Gruppe in der Organisation des Anbieters erhält. Administratorsätze werden abgelehnt."
2902+
}
2903+
}
2904+
},
2905+
map_scim_group: {
2906+
label: "SCIM-Gruppe zuordnen",
2907+
description: "Jedem Mitglied einer Gruppe, die eine SCIM-Verbindung bereitstellt, einen Berechtigungssatz gewähren. Die aktuellen Mitglieder der Gruppe erhalten ihn sofort.",
2908+
successMessage: "Gruppenzuordnung gespeichert",
2909+
params: {
2910+
connectionId: {
2911+
label: "SCIM-Verbindungs-ID",
2912+
helpText: "Die SCIM-Verbindung, über die die Gruppe bereitgestellt wird, z. B. „okta-prod“: die Verbindungs-ID ihrer Anmeldedaten."
2913+
},
2914+
groupExternalId: {
2915+
label: "Externe Gruppen-ID",
2916+
helpText: "Die externalId der Gruppe, wie der Identitätsanbieter sie sendet. Dieses Feld oder den Gruppen-Anzeigenamen setzen, nicht beide."
2917+
},
2918+
groupDisplayName: {
2919+
label: "Gruppen-Anzeigename",
2920+
helpText: "Der displayName der Gruppe, exakt abgeglichen. Dieses Feld oder die externe Gruppen-ID setzen, nicht beide."
2921+
},
2922+
permissionSet: {
2923+
label: "Berechtigungssatz",
2924+
helpText: "Der Berechtigungssatz, den ein Mitglied der Gruppe in der Organisation der Verbindung erhält. Administratorsätze werden abgelehnt."
2925+
}
2926+
}
2927+
},
2928+
delete_group_mapping: {
2929+
label: "Zuordnung löschen",
2930+
confirmText: "Diese Gruppenzuordnung löschen? Die Mitglieder der Gruppe erhalten ihren Berechtigungssatz nicht mehr. Bei einer SCIM-Verbindung werden die Mitglieder der Gruppe sofort neu projiziert und verlieren die Zuweisungen dieser Zuordnung. Bei einem SSO-Anbieter werden die Zuweisungen, die seine Anmeldungen für diesen Satz vorgenommen haben, sofort entfernt, sofern keine andere Zuordnung des Anbieters denselben Satz nennt. Zum Wiederherstellen die Gruppe erneut zuordnen.",
2931+
successMessage: "Gruppenzuordnung gelöscht"
28752932
}
28762933
}
28772934
},

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

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2871,7 +2871,64 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
28712871
},
28722872
_views: {
28732873
all: {
2874-
label: "All"
2874+
label: "All",
2875+
emptyState: {
2876+
title: "No group mappings yet",
2877+
message: "Grant a permission set to the members of an identity provider group with “Map SSO Group” (a group an SSO provider sends at sign-in) or “Map SCIM Group” (a group a SCIM connection provisions)."
2878+
}
2879+
}
2880+
},
2881+
_actions: {
2882+
map_sso_group: {
2883+
label: "Map SSO Group",
2884+
description: "Grant a permission set to every member of a group an SSO provider sends at sign-in. It applies at each member's next sign-in through the provider.",
2885+
successMessage: "Group mapping saved. It applies at each member's next sign-in through the provider.",
2886+
params: {
2887+
providerId: {
2888+
label: "SSO Provider ID",
2889+
helpText: "The Provider ID of the SSO provider whose sign-in carries the group, e.g. \"okta\". The provider must have a groups claim (Edit Groups Claim on the SSO provider)."
2890+
},
2891+
groupExternalId: {
2892+
label: "Group External ID",
2893+
helpText: "The group value exactly as the groups claim sends it when that is an ID, e.g. an Entra ID group object ID. Set this or Group Display Name, not both."
2894+
},
2895+
groupDisplayName: {
2896+
label: "Group Display Name",
2897+
helpText: "The group value exactly as the groups claim sends it when that is a name, e.g. \"Sales\". Set this or Group External ID, not both."
2898+
},
2899+
permissionSet: {
2900+
label: "Permission Set",
2901+
helpText: "The permission set a member of the group is granted, in the provider's organization. Administrator sets are refused."
2902+
}
2903+
}
2904+
},
2905+
map_scim_group: {
2906+
label: "Map SCIM Group",
2907+
description: "Grant a permission set to every member of a group a SCIM connection provisions. The group's current members are granted it now.",
2908+
successMessage: "Group mapping saved",
2909+
params: {
2910+
connectionId: {
2911+
label: "SCIM Connection ID",
2912+
helpText: "The SCIM connection the group is provisioned through, e.g. \"okta-prod\": the Connection ID of its credential."
2913+
},
2914+
groupExternalId: {
2915+
label: "Group External ID",
2916+
helpText: "The group's externalId as the identity provider sends it. Set this or Group Display Name, not both."
2917+
},
2918+
groupDisplayName: {
2919+
label: "Group Display Name",
2920+
helpText: "The group's displayName, matched exactly. Set this or Group External ID, not both."
2921+
},
2922+
permissionSet: {
2923+
label: "Permission Set",
2924+
helpText: "The permission set a member of the group is granted, in the connection's organization. Administrator sets are refused."
2925+
}
2926+
}
2927+
},
2928+
delete_group_mapping: {
2929+
label: "Delete Mapping",
2930+
confirmText: "Delete this group mapping? The group's members stop being granted its permission set. For a SCIM connection, the group's members are re-projected now and lose the grants this mapping made. For an SSO provider, the grants its sign-ins made for this set are removed now, unless another of the provider's mappings names the same set. To restore it, map the group again.",
2931+
successMessage: "Group mapping deleted"
28752932
}
28762933
}
28772934
},

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

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2871,7 +2871,64 @@ export const esESObjects: NonNullable<TranslationData['objects']> = {
28712871
},
28722872
_views: {
28732873
all: {
2874-
label: "Todos"
2874+
label: "Todos",
2875+
emptyState: {
2876+
title: "Aún no hay asignaciones de grupo",
2877+
message: "Concede un conjunto de permisos a los miembros de un grupo del proveedor de identidad con «Asignar grupo de SSO» (un grupo que un proveedor de SSO envía al iniciar sesión) o «Asignar grupo de SCIM» (un grupo que aprovisiona una conexión SCIM)."
2878+
}
2879+
}
2880+
},
2881+
_actions: {
2882+
map_sso_group: {
2883+
label: "Asignar grupo de SSO",
2884+
description: "Concede un conjunto de permisos a cada miembro de un grupo que un proveedor de SSO envía al iniciar sesión. Se aplica en el siguiente inicio de sesión de cada miembro a través del proveedor.",
2885+
successMessage: "Asignación de grupo guardada. Se aplica en el siguiente inicio de sesión de cada miembro a través del proveedor.",
2886+
params: {
2887+
providerId: {
2888+
label: "ID del proveedor de SSO",
2889+
helpText: "El ID del proveedor de SSO cuyo inicio de sesión envía el grupo, p. ej., «okta». El proveedor debe tener una notificación de grupos (Editar notificación de grupos en el proveedor de SSO)."
2890+
},
2891+
groupExternalId: {
2892+
label: "ID externo del grupo",
2893+
helpText: "El valor del grupo tal como lo envía la notificación de grupos cuando es un ID, p. ej., un ID de objeto de grupo de Entra ID. Indica este campo o el nombre visible del grupo, no ambos."
2894+
},
2895+
groupDisplayName: {
2896+
label: "Nombre visible del grupo",
2897+
helpText: "El valor del grupo tal como lo envía la notificación de grupos cuando es un nombre, p. ej., «Sales». Indica este campo o el ID externo del grupo, no ambos."
2898+
},
2899+
permissionSet: {
2900+
label: "Conjunto de permisos",
2901+
helpText: "El conjunto de permisos que recibe un miembro del grupo en la organización del proveedor. Los conjuntos de administrador se rechazan."
2902+
}
2903+
}
2904+
},
2905+
map_scim_group: {
2906+
label: "Asignar grupo de SCIM",
2907+
description: "Concede un conjunto de permisos a cada miembro de un grupo que aprovisiona una conexión SCIM. Los miembros actuales del grupo lo reciben de inmediato.",
2908+
successMessage: "Asignación de grupo guardada",
2909+
params: {
2910+
connectionId: {
2911+
label: "ID de conexión SCIM",
2912+
helpText: "La conexión SCIM a través de la que se aprovisiona el grupo, p. ej., «okta-prod»: el ID de conexión de su credencial."
2913+
},
2914+
groupExternalId: {
2915+
label: "ID externo del grupo",
2916+
helpText: "El externalId del grupo tal como lo envía el proveedor de identidad. Indica este campo o el nombre visible del grupo, no ambos."
2917+
},
2918+
groupDisplayName: {
2919+
label: "Nombre visible del grupo",
2920+
helpText: "El displayName del grupo, comparado de forma exacta. Indica este campo o el ID externo del grupo, no ambos."
2921+
},
2922+
permissionSet: {
2923+
label: "Conjunto de permisos",
2924+
helpText: "El conjunto de permisos que recibe un miembro del grupo en la organización de la conexión. Los conjuntos de administrador se rechazan."
2925+
}
2926+
}
2927+
},
2928+
delete_group_mapping: {
2929+
label: "Eliminar asignación",
2930+
confirmText: "¿Eliminar esta asignación de grupo? Los miembros del grupo dejan de recibir su conjunto de permisos. En una conexión SCIM, los miembros del grupo se vuelven a proyectar ahora y pierden las concesiones de esta asignación. En un proveedor de SSO, las concesiones que sus inicios de sesión hicieron para este conjunto se retiran ahora, salvo que otra asignación del proveedor nombre el mismo conjunto. Para restaurarla, vuelve a asignar el grupo.",
2931+
successMessage: "Asignación de grupo eliminada"
28752932
}
28762933
}
28772934
},

0 commit comments

Comments
 (0)