Skip to content

UID2-7271: add CREATE role for Claude admin automation#653

Open
sophia-chen-ttd wants to merge 6 commits into
mainfrom
sch-UID2-7271-create-role
Open

UID2-7271: add CREATE role for Claude admin automation#653
sophia-chen-ttd wants to merge 6 commits into
mainfrom
sch-UID2-7271-create-role

Conversation

@sophia-chen-ttd

@sophia-chen-ttd sophia-chen-ttd commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a CREATE Okta scope mapping and grants the role on six add endpoints:

  • Adds CREATE("uid2.admin.create", Role.CREATE) to OktaCustomScope
  • Grants Role.CREATE alongside existing roles on:
    • POST /api/site/add
    • POST /api/client/add
    • POST /api/operator/add
    • POST /api/service_link/add
    • POST /api/client_side_keypairs/add
    • POST /api/partner_config/add

Claude requests uid2.admin.create when creating entities and uid2.admin.read-only when reading, keeping the two concerns separate.

Dependency

Requires IABTechLab/uid2-shared#622 (Role.CREATE added to the enum) to be merged and a new snapshot published before this can be picked up.

🤖 Generated with Claude Code

sophia-chen-ttd and others added 2 commits June 16, 2026 10:57
Maps the new uid2.admin.create Okta scope to Role.CREATE and grants it
access to the five add endpoints: site, client key, operator key,
service link, and CSTG keypair. This keeps create access separate from
read-only so Claude can request only the scope it needs for each task.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant