Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughOAuth2 token viewset adds customized token retrieval with role-based filtering. Superusers access all tokens; platform auditors access all tokens via safe methods; regular users see only owned tokens, plus tokens from applications in accessible organizations when RBAC is enabled. Tests update expected status codes and add comprehensive visibility assertions. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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. Review rate limit: 0/1 reviews remaining, refill in 56 minutes and 13 seconds.Comment |
|
DVCS PR Check Results: PR appears valid (JIRA key(s) found) |
|



Description
Fixes identified vulnerability. Any user could see all tokens regardless of ownership. Now superuser & admin can do that, org admins can see tokens from their org and randos can see only their own tokens.
Type of Change
Self-Review Checklist
Testing Instructions
Prerequisites
Steps to Test
Expected Results
Token visibility scoped to owners or users with elevated permissions.
Summary by CodeRabbit
New Features
Tests