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.
|
|
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).
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