Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
7
7
uuid
stringlengths
36
36
email
stringlengths
20
38
org_id
stringclasses
2 values
org_role
stringclasses
6 values
workspace_roles
unknown
effective_permissions
listlengths
0
5
denied_permissions
listlengths
0
3
status
stringclasses
3 values
employment_type
stringclasses
3 values
access_expires_at
timestamp[s]date
2026-08-31 00:00:00
2026-12-31 23:59:59
⌀
last_login_at
timestamp[s]date
2026-05-10 08:00:00
2026-09-28 07:45:00
⌀
mfa
dict
attributes
dict
scenario_id
stringlengths
20
39
session_override
dict
impersonation
dict
service_account_credentials
dict
usr_001
7a3f4e2b-8c1d-4a9f-9e6b-5c0d2f7e9a01
alex.admin@example.com
org_enterprise_01
super_admin
{}
[ "*:*:*" ]
[]
active
full_time
null
2026-09-27T18:40:00
{ "enforced": true, "enrolled": true, "method": "hardware_key" }
{ "department": "Security", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 0 }
baseline_super_admin
null
null
null
usr_002
8b4a5f3c-9d2e-4b0a-8f7c-6d1e3a8f0b02
sarah.lead@example.com
org_enterprise_01
workspace_editor
{ "ws_prod_eu": "workspace_editor", "ws_staging": "workspace_editor" }
[ "data:records:read", "data:records:write", "data:records:export", "workspace:settings:read", "team:members:read" ]
[]
active
full_time
null
2026-09-28T07:15:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Engineering", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 5 }
baseline_engineering_lead
null
null
null
usr_003
9c5b6a4d-0e3f-4c1b-b08d-7e2f4b9a1c03
marcus.dev@example.com
org_enterprise_01
member
{ "ws_prod_eu": "workspace_editor", "ws_staging": "workspace_editor" }
[ "data:records:read", "data:records:write", "data:records:export", "workspace:settings:read", "team:members:read" ]
[]
active
full_time
null
2026-09-27T14:20:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Engineering", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 10 }
baseline_senior_developer
null
null
null
usr_004
0d6c7b5e-1f4a-4d2c-819e-8f3a5c0b2d04
elena.qa@example.com
org_enterprise_01
member
{ "ws_prod_eu": "guest", "ws_staging": "workspace_editor" }
[ "data:records:read", "data:records:write", "team:members:read" ]
[]
active
full_time
null
2026-09-28T06:50:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Quality Assurance", "geo_region": "US-East", "ip_cidr": "192.0.2.0/24", "network_trust": "vpn", "device_posture": "managed_compliant", "risk_score": 8 }
baseline_qa_engineer
null
null
null
usr_005
1e7d8c6f-2a5b-4e3d-920f-9a4b6d1c3e05
claire.billing@example.com
org_enterprise_01
billing_manager
{}
[ "org:billing:read", "org:billing:write", "org:invoices:export", "team:members:read", "data:records:read" ]
[]
active
full_time
null
2026-09-26T16:10:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Finance", "geo_region": "US-East", "ip_cidr": "192.0.2.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 5 }
baseline_billing_manager
null
null
null
usr_006
2f8e9d7a-3b6c-4f4e-a31a-0b5c7e2d4f06
victor.audit@example.com
org_enterprise_01
compliance_auditor
{}
[ "audit:events:read", "compliance:reports:export", "data:records:read", "team:members:read" ]
[]
active
full_time
null
2026-09-27T10:05:00
{ "enforced": true, "enrolled": true, "method": "hardware_key" }
{ "department": "Compliance", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 2 }
baseline_compliance_auditor
null
null
null
usr_007
3a9f0e8b-4c7d-4a5f-842b-1c6d8f3e5a07
maya.ops@example.com
org_enterprise_01
member
{ "ws_prod_eu": "workspace_editor", "ws_staging": "workspace_editor" }
[ "data:records:read", "data:records:write", "data:records:export", "workspace:settings:read", "team:members:read" ]
[]
active
full_time
null
2026-09-28T05:30:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Operations", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 5 }
baseline_site_reliability
null
null
null
usr_008
4b0a1f9c-5d8e-4b6a-853c-2d7e9a4f6b08
liam.support@example.com
org_enterprise_01
member
{ "ws_prod_eu": "guest", "ws_staging": "guest" }
[ "data:records:read", "team:members:read" ]
[ "data:records:export", "data:records:write" ]
active
full_time
null
2026-09-28T04:45:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Customer Support", "geo_region": "US-East", "ip_cidr": "192.0.2.0/24", "network_trust": "vpn", "device_posture": "managed_compliant", "risk_score": 12 }
baseline_support_agent
null
null
null
usr_009
5c1b2a0d-6e9f-4c7b-864d-3e8f0b5a7c09
olivia.product@example.com
org_enterprise_01
workspace_editor
{ "ws_prod_eu": "workspace_editor", "ws_staging": "workspace_editor" }
[ "data:records:read", "data:records:write", "data:records:export", "workspace:settings:read", "team:members:read" ]
[]
active
full_time
null
2026-09-27T11:20:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Product", "geo_region": "US-East", "ip_cidr": "192.0.2.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 5 }
baseline_product_manager
null
null
null
usr_010
6d2c3b1e-7f0a-4d8c-875e-4f9a1c6b8d10
noah.data@example.com
org_enterprise_01
member
{ "ws_prod_eu": "workspace_editor" }
[ "data:records:read", "data:records:export", "team:members:read" ]
[ "data:records:write" ]
active
full_time
null
2026-09-26T17:00:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Analytics", "geo_region": "US-East", "ip_cidr": "192.0.2.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 10 }
baseline_data_analyst
null
null
null
usr_011
7e3d4c2f-8a1b-4e9d-886f-5a0b2d7c9e11
emma.design@example.com
org_enterprise_01
member
{ "ws_prod_eu": "guest", "ws_staging": "guest" }
[ "data:records:read", "team:members:read" ]
[]
active
full_time
null
2026-09-25T13:40:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Design", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 5 }
baseline_ui_designer
null
null
null
usr_012
8f4e5d3a-9b2c-4f0e-897a-6b1c3e8d0f12
hannah.legal@example.com
org_enterprise_01
compliance_auditor
{}
[ "audit:events:read", "compliance:reports:export", "data:records:read", "team:members:read" ]
[]
active
full_time
null
2026-09-24T09:30:00
{ "enforced": true, "enrolled": true, "method": "hardware_key" }
{ "department": "Legal", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 0 }
baseline_legal_counsel
null
null
null
usr_013
9a5f6e4b-0c3d-4a1f-808b-7c2d4f9e1a13
external.partner@example.com
org_enterprise_01
guest
{ "ws_staging": "guest" }
[ "data:records:read" ]
[ "data:records:write", "data:records:export", "team:members:read" ]
active
contractor
2026-12-31T23:59:59
2026-09-27T08:15:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "External Partner", "geo_region": "US-East", "ip_cidr": "203.0.113.0/24", "network_trust": "public", "device_posture": "byod_unmanaged", "risk_score": 25 }
baseline_active_partner
null
null
null
usr_014
3f2b8c1e-9d4a-4e7b-8a61-5c0d2f7e9b14
contractor.dev@example.com
org_enterprise_01
member
{ "ws_prod_eu": "workspace_editor", "ws_staging": "guest" }
[ "data:records:read", "data:records:write", "data:records:export", "workspace:settings:read" ]
[]
active
contractor
2026-08-31T00:00:00
2026-08-25T11:20:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Engineering", "geo_region": "EU-Central", "ip_cidr": "203.0.113.0/24", "network_trust": "vpn", "device_posture": "byod_unmanaged", "risk_score": 45 }
scenario_expired_contractor
null
null
null
usr_015
6b9e2c4a-1f8d-4b7a-8a3e-4d0f2a7b9c15
auditor.sod@example.com
org_enterprise_01
compliance_auditor
{}
[ "audit:events:read", "compliance:reports:export", "finance:requests:create", "finance:requests:approve" ]
[]
active
full_time
null
2026-09-26T09:15:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Finance", "geo_region": "US-East", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 60 }
scenario_separation_of_duty_conflict
null
null
null
usr_016
4c0b2d8e-6a1f-4e9b-8c3d-2b1f4a8e0c16
unprotected.admin@example.com
org_enterprise_01
super_admin
{}
[ "*:*:*" ]
[]
active
full_time
null
2026-09-28T02:00:00
{ "enforced": true, "enrolled": false, "method": "none" }
{ "department": "Infrastructure", "geo_region": "US-East", "ip_cidr": "203.0.113.0/24", "network_trust": "public", "device_posture": "byod_unmanaged", "risk_score": 85 }
scenario_mfa_non_compliant_admin
null
null
null
usr_017
5d1c3e9f-7b2a-4f0c-8d4e-3c2a5b9f1d17
rogue.leaver@example.com
org_enterprise_01
workspace_editor
{ "ws_prod_eu": "workspace_editor" }
[ "data:records:read", "data:records:write", "data:records:export" ]
[]
suspended
full_time
null
2026-09-27T23:45:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Engineering", "geo_region": "EU-Central", "ip_cidr": "203.0.113.0/24", "network_trust": "public", "device_posture": "byod_unmanaged", "risk_score": 95 }
scenario_suspended_user_active_session
{ "unrevoked_token_id": "tok_synthetic_active_leaver_session_jwt", "session_expires_at": "2026-10-15T00:00:00" }
null
null
usr_018
9d4a1c7e-3b8f-4e6a-8c2d-1a0e5b7f9d18
restricted.admin@example.com
org_enterprise_01
super_admin
{ "ws_prod_eu": "guest" }
[ "*:*:*" ]
[ "data:records:export", "data:records:write" ]
active
full_time
null
2026-09-28T07:10:00
{ "enforced": true, "enrolled": true, "method": "hardware_key" }
{ "department": "Operations", "geo_region": "EU-Central", "ip_cidr": "192.0.2.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 10 }
scenario_restricting_workspace_override
null
null
null
usr_019
7f3e5b1a-9d4c-4a2e-8f6a-5e4c7d1b3f19
dormant.admin@example.com
org_enterprise_01
super_admin
{}
[ "*:*:*" ]
[]
active
full_time
null
2026-05-10T08:00:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Security", "geo_region": "US-East", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 75 }
scenario_dormant_high_privilege_account
null
null
null
usr_020
8a4f6c2b-0e5d-4b3f-807b-6f5d8e2c4a20
breakglass.oncall@example.com
org_enterprise_01
member
{ "ws_prod_eu": "super_admin" }
[ "*:*:*" ]
[]
active
full_time
2026-09-27T20:00:00
2026-09-27T19:30:00
{ "enforced": true, "enrolled": true, "method": "hardware_key" }
{ "department": "Engineering", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 30 }
scenario_jit_elevation_expired
null
null
null
usr_021
9b5a7d3c-1f6e-4c4a-818c-7a6e9f3d5b21
customer.victim@example.com
org_enterprise_01
member
{ "ws_prod_eu": "member" }
[ "data:records:read" ]
[]
active
full_time
null
2026-09-28T07:45:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Operations", "geo_region": "EU-Central", "ip_cidr": "198.51.100.0/24", "network_trust": "corporate", "device_posture": "managed_compliant", "risk_score": 20 }
scenario_impersonation_session
null
{ "is_impersonated": true, "impersonated_by": "usr_001", "impersonation_reason": "ticket_audit_investigation" }
null
usr_022
0c6b8e4d-2a7f-4d5b-829d-8b7f0a4e6c22
twin.consultant@example.com
org_enterprise_02
member
{ "ws_client_us": "workspace_editor" }
[ "data:records:read", "data:records:write" ]
[]
active
contractor
2026-11-30T00:00:00
2026-09-27T16:00:00
{ "enforced": true, "enrolled": true, "method": "totp" }
{ "department": "Consulting", "geo_region": "US-East", "ip_cidr": "192.0.2.0/24", "network_trust": "vpn", "device_posture": "managed_compliant", "risk_score": 15 }
scenario_cross_tenant_identity
null
null
null
usr_023
1d7c9f5e-3b8a-4e6c-830e-9c8a1b5f7d23
pending.hire@example.com
org_enterprise_01
member
{ "ws_prod_eu": "member" }
[]
[ "*:*:*" ]
pending_invite
full_time
null
null
{ "enforced": true, "enrolled": false, "method": "none" }
{ "department": "Engineering", "geo_region": "EU-Central", "ip_cidr": "203.0.113.0/24", "network_trust": "public", "device_posture": "byod_unmanaged", "risk_score": 50 }
scenario_pending_invite_unactivated
null
null
null
svc_024
1e8d4a9f-5c0b-4e7a-8a61-7a3f4e2b8c24
ci-runner@serviceaccount.example.com
org_enterprise_01
workspace_editor
{ "ws_staging": "workspace_editor" }
[ "data:records:read", "data:records:write" ]
[ "infra:runners:delete" ]
active
service_account
null
2026-09-28T06:00:00
{ "enforced": false, "enrolled": false, "method": "none" }
{ "department": "DevOps", "geo_region": "US-East", "ip_cidr": "192.0.2.0/24", "network_trust": "corporate", "device_posture": "server_hardened", "risk_score": 5 }
scenario_machine_service_account
null
null
{ "client_id": "sa_ci_runner_prod", "client_secret_ref": "vault://secrets/ci-runner/staging-key" }
svc_025
2f9e5b0a-6d1c-4f8b-8b72-8b4a5f3c9d25
legacy-sync@serviceaccount.example.com
org_enterprise_01
super_admin
{}
[ "*:*:*" ]
[]
active
service_account
null
2026-09-28T01:10:00
{ "enforced": false, "enrolled": false, "method": "none" }
{ "department": "IT", "geo_region": "US-East", "ip_cidr": "192.0.2.0/24", "network_trust": "corporate", "device_posture": "server_hardened", "risk_score": 70 }
scenario_overprivileged_service_account
null
null
{ "client_id": "sa_legacy_sync_orphaned", "client_secret_ref": "vault://secrets/sync/legacy-unrotated" }

Synthetic RBAC Users and Authorization Test Cases

25 synthetic multi-tenant users, 6 roles with inheritance, 8 resources and 12 authorization test cases, each with the expected allow or deny decision and the reason.

Test authorization logic, policy engines and permission checks against known expected outcomes.

Full guide and live preview: www.aptdot.com/datasets/synthetic-rbac-users/

Version 1.0.3 (2026-09-29)
License CC0 1.0 (public domain)
JSON Schema synthetic-rbac-users.schema.json (Draft 2020-12)
Source repository github.com/mkchd25/aptdot-datasets
Publisher Aptdot

Files

File What it is
synthetic-rbac-users.json The complete dataset, identical to the file on aptdot.com and GitHub
synthetic-rbac-users.schema.json Its JSON Schema (Draft 2020-12)
records-*.jsonl The main lists, one record per line, for the viewer and the datasets library

Tables

Table Rows File Fields
users 25 records-users.jsonl id, uuid, email, org_id, org_role, workspace_roles, effective_permissions, denied_permissions, ...
authorization_test_cases 12 records-authorization_test_cases.jsonl case_id, description, principal, action, resource, expected, reason
roles 6 records-roles.jsonl role, inherits, permissions, description
resources 8 records-resources.jsonl id, org_id, workspace_id, type, owner_id, sensitivity, data_residency

Load it

from datasets import load_dataset

rows = load_dataset("aptdot/synthetic-rbac-users", "users", split="train")

Or use the complete JSON file as it is:

import json
from huggingface_hub import hf_hub_download

path = hf_hub_download("aptdot/synthetic-rbac-users", "synthetic-rbac-users.json", repo_type="dataset")
data = json.load(open(path, encoding="utf-8"))

Check your own data against the schema

Paste your records and synthetic-rbac-users.schema.json into the free JSON Schema Validator. It runs in your browser, uploads nothing and explains every problem in plain English with its line number.

Notes

  • The records-*.jsonl files are generated from synthetic-rbac-users.json. If they ever disagree, synthetic-rbac-users.json is the reference.
  • Versions match aptdot.com and GitHub. Changes are listed in the repository's CHANGELOG.
  • All people, organisations and products are invented for testing. Email addresses use example.com.

License

CC0 1.0 Universal: public domain. You can copy, change and use it for any purpose, including commercial use, without asking.

Downloads last month
-