platform-dataspace-access-configure
БесплатноЗапускает вложенные скриптыНе проверенGrant a permission set Data Cloud access two ways: (1) data-space (dataspace) access via dataspaceScopes in PermissionSet XML (MDAPI) — create, change, or…
от forcedotcom★ 1 200 звёзд на GitHubОб этом скилле
platform-dataspace-access-configure
Configure DataSpace access in Salesforce Data Cloud using a two-layer model:
- DataSpace-level access — grant a
PermissionSetaccess to a DataSpace by embedding a<dataspaceScopes>element in the permission set XML and deploying via MDAPI. - Object-level access (optional) — grant that permission set access to specific DMO / DLO / CIO objects within the DataSpace using the Object Access Grants Connect API.
The MDAPI layer is required to establish the PermissionSet → DataSpace linkage. The Connect API layer is optional and only needed when access should be scoped to specific objects rather than governed entirely by data governance policies.
When to use this skill (routing)
This is the permission-set / RBAC path to Data Cloud access:
- "Grant access to a data space" / dataspace access → this skill (Layer 1,
dataspaceScopeson a permission set). - Grant object access via a permission set / RBAC object grant → this skill (Layer 2, Object Access Grants Connect API).
Object access has a second, separate path — a data-governance access policy (a tag/OLS PolicyRuleDefinition), owned by platform-policy-rule-generate. Infer the mechanism from context; ask only when the request is vague:
- The user is driving from a permission set (mentions a permission set, RBAC, or an object grant on a permset) → object access grant → this skill, no need to ask.
- The user frames it as a policy (create a policy / access policy / policy rule, OLS/FLS/RLS, tag/classification-based) → route to
platform-policy-rule-generate. - The request is genuinely vague — "grant object access to X" with no mechanism and no clue → ASK: the permission-set way (this skill) or the policy way (
platform-policy-rule-generate)? If it is also unclear whether the object is a Data Cloud object, ask which object first.
"Access to a data space" is always this skill (the permission-set / dataspaceScopes path) — no disambiguation needed.
Decide the Case First
Case B — preserve existing content. Do not delete content you did not intend to change without the user's confirmation. Fix deploy or validation errors that trace to your own
<dataspaceScopes>block (wrong element or enum names). For errors that originate in pre-existing content you were told to preserve (e.g. a<tabSettings>or<fieldPermissions>entry), make no further edits to that content and report the error message and the offending element in your reply. A request to fix validation errors does not authorize removing content the user told you to preserve; deleting it needs the user's explicit confirmation.
Pick exactly one case from the table below before writing any files. Each case has a different output shape.
| Case | User intent | Permission set state | Files to emit |
|---|---|---|---|
| A. Create new permset with DS access | "create a permission set called X with dataspace scope Y" | does NOT exist yet | permissionsets/<Name>.permissionset-meta.xml and package.xml (create package.xml only if absent) |
| B. Add DS access to existing permset | "grant existing permission set X access to dataspace Y" | already deployed (may contain other permissions) | patched permissionsets/<Name>.permissionset-meta.xml and package.xml (keep the existing one if present; create only if absent) — see Case B workflow below |
| C. Object-level grant only | "grant permset X access to object Z (in dataspace Y)" — permset + scope already configured | already deployed with dataspaceScopes |
api-request.json (Connect API body). NO permission set XML, NO package.xml |
| D. Inspect existing DS access | "which permission sets have access to dataspace Y?" | any | chat/report only. NO deployable files, NO runtime API mutation |
Only emit the files listed for the case you picked. Emitting Case A/B files for a Case C prompt (or vice versa) is a correctness failure — extra files change the deployment shape.
Case B — critical: PermissionSet MDAPI deploy is a full metadata replace. Every
<objectPermissions>,<fieldPermissions>,<userPermissions>,<tabSettings>,<applicationVisibilities>,<recordTypeVisibilities>,<customPermissions>,<pageAccesses>,<classAccesses>,<customMetadataTypeAccesses>,<customSettingAccesses>,<externalDataSourceAccesses>element you omit from the redeploy is deleted from the org. Before adding, changing, or removing<dataspaceScopes>on an existing permset, start from its current XML and patch it — never author a permission set from scratch or write placeholder comments such as "replace with actual permissions", and never invent permissions that are not in the file.
Case B workflow
- Local project first. If the workspace already contains
permissionsets/<Name>.permissionset-meta.xml(e.g. underforce-app/main/default/), READ that file first and edit it in
Установить platform-dataspace-access-configure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл platform-dataspace-access-configure?
Grant a permission set Data Cloud access two ways: (1) data-space (dataspace) access via dataspaceScopes in PermissionSet XML (MDAPI) — create, change, or remove it; (2) object-level access to a DMO/DLO/CIO object (e.g. Account__dlm) via the Object Access Grants Connect API (ssot/data-governance/object-access-grants) — grant, list, revoke; plus read-only scope inspection. TRIGGER on: dataspace scope / data space access for a permission set, dataAccessLevel / objectAccessLevel, 'use the Connect API to grant a permission set access to an <object>__dlm', RBAC object grants. DO NOT TRIGGER for creating the dataspace itself (the Data 360 data-space skill), a generic permission set with no dataspace access (platform-permission-set-generate), or an access policy / policy rule / tag-based access (platform-policy-rule-generate). For a vague object-access ask, ask permission-set way vs policy way.
Как установить скилл platform-dataspace-access-configure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл platform-dataspace-access-configure запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic