docs(modeling): fix organization context authorization inconsistencies#1184
docs(modeling): fix organization context authorization inconsistencies#1184yinshi197 wants to merge 1 commit intoopenfga:mainfrom
Conversation
- correct Beth tuple user from user:anne to user:beth - fix contextual tuple description for Anne in organization C check - align summary table: Anne cannot view project X in organization C
|
WalkthroughA single documentation file was updated to correct example data in the organization-context-authorization guide, changing user references and authorization context values to reflect accurate scenarios. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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.
Pull request overview
This PR fixes internal inconsistencies in the “organization context authorization” modeling guide so the described tuples, contextual tuple examples, and the final requirements table all agree—reducing the chance of readers getting misleading fga model test / Check API results.
Changes:
- Corrected Beth’s relationship tuple to use
user:beth(instead ofuser:anne). - Fixed the contextual tuple description for Anne authorizing from organization C.
- Updated the requirements summary table to reflect that Anne in organization C cannot view project X.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Thanks for your PR @yinshi197! Could you please sign the CLA and we can then look to get this reviewed and merged |
Summary
Fix inconsistencies in the organization-context-authorization modeling guide.
Changes
user:bethinstead ofuser:anne).Nofor:Why
These mismatches made the doc internally inconsistent and could mislead readers when reproducing checks with
fga model testorCheckAPI calls.Verification
Summary by CodeRabbit