name: datasets-permissions
description: "Operate PySyft dataset publication, mock/private resolution, syft
URLs, and SyftBox permission APIs."
disable-model-invocation: true
metadata:
disco-role: operating
license: Apache 2.0
datasets-permissions
Use this sub-skill for create_dataset, mock/private dataset separation, resolve_dataset_file_path, load_dataset_code, syft:// paths, dataset visibility/deletion, upload_private, syft.pub.yaml, syft_permissions, and syft_perms ACL questions.
Workflow
- Confirm DO and DS are accepted peers and synced; otherwise route to ../auth-sync-transport/SKILL.md.
- DO creates a dataset with public mock files and private owner-side files.
- DS lists/reads mock files after sync and tests analysis locally.
- Inside a submitted job,
resolve_dataset_file_path(...) resolves the owner-side private file. Outside a job, use client= for mock testing.
- Validate permission rules and explain nearest-
syft.pub.yaml behavior before changing ACLs.
Read references/dataset-workflows.md, references/permissions-reference.md, references/data-formats.md, references/api-reference.md, and references/troubleshooting.md.
Helpers: scripts/create_dataset_fixture.py creates tiny mock/private fixtures; scripts/check_permission_yaml.py checks a simple local ACL rule.