-
Notifications
You must be signed in to change notification settings - Fork 4
Fix viewer relation for past meeting artifacts #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated the viewer relation for all three past meeting artifact types (recording, transcript, summary) to accept both [user] and [user:*] types. This allows the backend to create viewer tuples for specific users (e.g., hosts or participants) in addition to the wildcard [user:*] tuple for public visibility. Also bumped the patch version from 5.3.2 to 5.3.3. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Andres Tobon <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes the viewer relation for past meeting artifacts (recordings, transcripts, and summaries) in the OpenFGA authorization model to support both specific user assignments and wildcard user access patterns.
- Updated viewer relations to accept both
[user]and[user:*]types - Bumped patch version from 5.3.2 to 5.3.3
- Enables backend to create viewer tuples for specific users while maintaining public visibility option
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
WalkthroughUpdated OpenFGA viewer relations in the access model to include explicit non-wildcard users ( Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor U as User
participant S as Service
participant A as AuthZ (OpenFGA)
U->>S: Request access to resource (view)
S->>A: Check relation: viewer?
Note over A: Evaluate:<br/>- user in [user]<br/>- user matches [user:*]<br/>- user has writer<br/>- user has auditor
alt Authorized
A-->>S: allow
S-->>U: 200 OK (granted)
else Not authorized
A-->>S: deny
S-->>U: 403 Forbidden
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-08-08T21:57:43.678ZApplied to files:
Comment |
bramwelt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just missing a chart bump.
These match the v2 relations unless otherwise noted. Also includes same fix as linuxfoundation#66 which I noticed independently while working on this. 🤖 Assisted with [GitHub Copilot](https://github.com/features/copilot) (via vim) Signed-off-by: Eric Searcy <[email protected]>
Summary
🤖 Generated with Claude Code