Document Agent Network Admin and Usage Viewer roles - #927
Conversation
Add the two delegated Agent Network roles to the user-roles matrix and role descriptions, note the self-service endpoints every user can read, and add an access-roles section to the Agent Network overview.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 37 minutes Limit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?Wait for the limit to reset, then comment An organization admin can change what happens after included review limits in Billing. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
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 (3)
🚧 Files skipped from review as they are similar to previous changes (2)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change adds horizontally scrollable MDX tables and documents the ChangesAgent Network roles and table rendering
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This documentation-only change adds descriptions and navigation for delegated Agent Network roles without introducing an actionable merge-blocking risk; it is merge-ready after normal checks and review. Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
The expanded permissions matrix on the user-roles page is wider than the content column, and markdown tables had no overflow container, so the extra columns rendered underneath the sticky "On this page" menu. Map the MDX table element to a wrapper that scrolls horizontally within the column, fixing every wide table site-wide.
The dedicated me/consumption endpoint is gone: every user's own usage and requests come through the regular usage and access-log endpoints, which answer with the caller's own data when the role has no account-wide access. usage_viewer now carries read-only access to the resources the usage filters resolve against (users, groups, peers, provider list).
The role dropdown now groups roles into General and Agent Network tabs. Refresh the dropdown screenshot to the tabbed selector and add a second shot of the Agent Network tab with its Admin and Usage Viewer roles; the section text explains the grouping and when the Agent Network tab is visible.
Delegating Agent Network access today requires full account admin, and the roles page does not cover the new delegated roles shipping in netbirdio/netbird#7221.
This documents the two new roles and the self-service surface:
Agent Network Admin: full management of the Agent Network area with read-only peers and team, nothing else in the account.Usage Viewer: the usage and cost overview, plus read-only access to the resources its filters resolve against (users, groups, peers, the provider list) — for cost stakeholders.me/setupendpoint plus the self-scoped usage and access-log reads available to every role (the regular endpoints answer with the caller's own data when the role has no account-wide access).Companion to the management change in netbirdio/netbird#7221 and the dashboard change in netbirdio/dashboard#764.
Summary by CodeRabbit
Documentation
Usability Improvements