UID2-7271: add CREATE role for Claude admin automation#653
Open
sophia-chen-ttd wants to merge 6 commits into
Open
UID2-7271: add CREATE role for Claude admin automation#653sophia-chen-ttd wants to merge 6 commits into
sophia-chen-ttd wants to merge 6 commits into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
CREATEOkta scope mapping and grants the role on six add endpoints:CREATE("uid2.admin.create", Role.CREATE)toOktaCustomScopeRole.CREATEalongside existing roles on:POST /api/site/addPOST /api/client/addPOST /api/operator/addPOST /api/service_link/addPOST /api/client_side_keypairs/addPOST /api/partner_config/addClaude requests
uid2.admin.createwhen creating entities anduid2.admin.read-onlywhen reading, keeping the two concerns separate.Dependency
Requires IABTechLab/uid2-shared#622 (
Role.CREATEadded to the enum) to be merged and a new snapshot published before this can be picked up.🤖 Generated with Claude Code