docs(sdks): document sdk version for ForAction helper - #384
Conversation
Adds an Action subsection to authorization.mdx (parity with EntityIdentifier/Resource) noting ForAction requires Go SDK v0.30.0+, and links the existing parameter-table mentions to it.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe authorization SDK documentation adds action construction examples for Go, Java, and JavaScript. It also documents the Go ChangesAuthorization Actions
Estimated code review effort: 1 (Trivial) | ~5 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/sdks/authorization.mdx`:
- Line 245: Update the authorization documentation’s action example to use the
standard read action for TDF decryption flows; only retain decrypt when
explicitly labeled as a custom action.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 09ff61bf-74e0-465c-b0ef-e5c8e0f76445
📒 Files selected for processing (1)
docs/sdks/authorization.mdx
|
📄 Preview deployed to https://opentdf-docs-pr-384.surge.sh |
decrypt isn't a real action name — read, create, update, delete are the standard actions (docs/components/policy/actions.md); read is what covers TDF decrypt flows. Also clarifies that the action must already be defined in policy — ForAction/manual construction only build the reference, they don't create or validate it. Addresses review from CodeRabbit and jp-ayyappan on PR #384.
Summary
### Actionsubsection todocs/sdks/authorization.mdx, matching the existingEntityIdentifier/ResourcepatternForAction(Go, authorization/v2) requires SDK v0.30.0+ via the<SdkVersion>componentactionparameter-table mentions to the new sectionTest plan
valeclean on changed filenpx docusaurus buildsucceeds; no new broken anchors introducedSummary by CodeRabbit
ForActionhelper.